home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1990-03-08 | 663.6 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sun Apr 17 10:11:43 1988, modified Thu Mar 8 12:54:29 1990, creator HyperCard, type HyperCard stack, 627584 bytes "MF Apps" , at 0x99400 51752 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 4d 46 20 41 70 70 | 73 00 00 00 00 00 00 00 |..MF App|s.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 09 93 80 00 | 00 ca 28 9e 8e 6d 9f a2 |........|..(..m..|
|00000060| 1c 4c d5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f4 98 00 00 |........|........|
|00000080| 00 00 78 00 53 54 41 4b | ff ff ff ff 50 4f 63 09 |..x.STAK|....POc.|
|00000090| 00 00 00 08 00 09 93 80 | 00 00 78 00 00 00 00 00 |........|..x.....|
|000000a0| 00 00 00 02 00 00 00 17 | 00 00 67 8d 00 00 00 68 |........|..g....h|
|000000b0| 00 00 29 93 00 00 7a b2 | 00 00 00 00 00 00 00 00 |..)...z.|........|
|000000c0| 00 00 0d 20 00 00 00 00 | 00 05 00 00 10 00 00 00 |... ....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |....."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|00000350| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|00000360| cc 88 33 22 cc 88 33 22 | ff 00 ff 00 ff 00 ff 00 |..3"..3"|........|
|00000370| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000380| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 55 55 55 55 55 55 55 55 | 82 44 39 44 82 01 01 01 |UUUUUUUU|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | 49 24 92 49 24 92 49 24 |........|I$.I$.I$|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 7c 20 56 65 72 73 | 69 6f 6e 20 32 2e 30 0d |--| Vers|ion 2.0.|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |-------.|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000710| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000720| 2d 2d 0d 2d 2d 20 20 28 | 43 29 20 31 39 39 30 20 |--.-- (|C) 1990 |
|00000730| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000740| 49 6e 63 2e 0d 2d 2d 0d | 2d 2d 20 20 41 70 70 6c |Inc..--.|-- Appl|
|00000750| 65 2c 20 54 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |e, The A|pple log|
|00000760| 6f 2c 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 48 79 |o, Macin|tosh, Hy|
|00000770| 70 65 72 43 61 72 64 0d | 2d 2d 20 20 61 72 65 20 |perCard.|-- are |
|00000780| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000790| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|000007a0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 2d 2d |omputer,| Inc..--|
|000007b0| 0d 2d 2d 20 20 54 68 69 | 73 20 73 6f 66 74 77 61 |.-- Thi|s softwa|
|000007c0| 72 65 20 6d 61 79 20 6e | 6f 74 20 62 65 20 63 6f |re may n|ot be co|
|000007d0| 70 69 65 64 20 77 69 74 | 68 6f 75 74 20 74 68 65 |pied wit|hout the|
|000007e0| 0d 2d 2d 20 20 65 78 70 | 72 65 73 73 20 77 72 69 |.-- exp|ress wri|
|000007f0| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000800| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000810| 72 2c 20 49 6e 63 2e 0d | 2d 2d 20 20 41 6c 6c 20 |r, Inc..|-- All |
|00000820| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000830| 0d 2d 2d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.--.----|--------|
|00000840| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000850| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 2d 2d 2d 2d |--------|---.----|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008c0| 2d 2d 2d 0d 2d 2d 20 55 | 70 64 61 74 65 20 74 68 |---.-- U|pdate th|
|000008d0| 65 20 65 76 61 6c 75 61 | 74 69 6f 6e 20 64 61 74 |e evalua|tion dat|
|000008e0| 61 20 66 6f 72 20 74 68 | 69 73 20 70 72 6f 62 6c |a for th|is probl|
|000008f0| 65 6d 0d d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |em......|........|
|00000900| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000910| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000920| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 d1 d1 d1 d1 d1 d1 |........|........|
|00000930| d1 d1 d1 d1 d1 d1 d1 d1 | d1 d1 0d 6f 6e 20 75 70 |........|...on up|
|00000940| 64 61 74 65 45 76 61 6c | 20 76 61 6c 75 65 0d 67 |dateEval| value.g|
|00000950| 6c 6f 62 61 6c 20 53 41 | 50 72 6f 62 6c 65 6d 4e |lobal SA|ProblemN|
|00000960| 75 6d 62 65 72 2c 20 53 | 41 45 76 61 6c 44 61 74 |umber, S|AEvalDat|
|00000970| 61 0d 0d 69 66 20 69 74 | 65 6d 20 31 20 6f 66 20 |a..if it|em 1 of |
|00000980| 6c 69 6e 65 20 53 41 50 | 72 6f 62 6c 65 6d 4e 75 |line SAP|roblemNu|
|00000990| 6d 62 65 72 20 6f 66 20 | 53 41 45 76 61 6c 44 61 |mber of |SAEvalDa|
|000009a0| 74 61 20 69 73 20 65 6d | 70 74 79 20 c2 0d 74 68 |ta is em|pty ..th|
|000009b0| 65 6e 20 70 75 74 20 31 | 20 69 6e 74 6f 20 69 74 |en put 1| into it|
|000009c0| 65 6d 20 31 20 6f 66 20 | 6c 69 6e 65 20 53 41 50 |em 1 of |line SAP|
|000009d0| 72 6f 62 6c 65 6d 4e 75 | 6d 62 65 72 20 6f 66 20 |roblemNu|mber of |
|000009e0| 53 41 45 76 61 6c 44 61 | 74 61 0d 65 6c 73 65 20 |SAEvalDa|ta.else |
|000009f0| 61 64 64 20 31 20 74 6f | 20 69 74 65 6d 20 31 20 |add 1 to| item 1 |
|00000a00| 6f 66 20 6c 69 6e 65 20 | 53 41 50 72 6f 62 6c 65 |of line |SAProble|
|00000a10| 6d 4e 75 6d 62 65 72 20 | 6f 66 20 53 41 45 76 61 |mNumber |of SAEva|
|00000a20| 6c 44 61 74 61 0d 70 75 | 74 20 76 61 6c 75 65 20 |lData.pu|t value |
|00000a30| 69 6e 74 6f 20 69 74 65 | 6d 20 32 20 6f 66 20 6c |into ite|m 2 of l|
|00000a40| 69 6e 65 20 53 41 50 72 | 6f 62 6c 65 6d 4e 75 6d |ine SAPr|oblemNum|
|00000a50| 62 65 72 20 6f 66 20 53 | 41 45 76 61 6c 44 61 74 |ber of S|AEvalDat|
|00000a60| 61 0d 0d 65 6e 64 20 75 | 70 64 61 74 65 45 76 61 |a..end u|pdateEva|
|00000a70| 6c 0d 0d 0d 2d 2d 20 74 | 65 78 74 20 63 75 72 72 |l...-- t|ext curr|
|00000a80| 65 6e 74 6c 79 20 64 69 | 73 70 6c 61 79 65 64 0d |ently di|splayed.|
|00000a90| 66 75 6e 63 74 69 6f 6e | 20 67 65 74 44 69 73 70 |function| getDisp|
|00000aa0| 6c 61 79 54 65 78 74 0d | 72 65 74 75 72 6e 20 66 |layText.|return f|
|00000ab0| 6c 64 20 22 74 65 78 74 | 44 69 73 70 6c 61 79 22 |ld "text|Display"|
|00000ac0| 0d 65 6e 64 20 67 65 74 | 44 69 73 70 6c 61 79 54 |.end get|DisplayT|
|00000ad0| 65 78 74 0d 0d 2d 2d 64 | 69 73 70 6c 61 79 20 61 |ext..--d|isplay a|
|00000ae0| 20 70 69 65 63 65 20 6f | 66 20 74 65 78 74 0d 2d | piece o|f text.-|
|00000af0| 2d 20 66 6f 72 20 64 6f | 75 62 6c 65 20 64 69 67 |- for do|uble dig|
|00000b00| 69 74 20 6e 75 6d 62 65 | 72 73 2c 20 79 6f 75 20 |it numbe|rs, you |
|00000b10| 64 6f 6e 27 74 20 77 61 | 6e 74 20 61 20 73 70 61 |don't wa|nt a spa|
|00000b20| 63 65 20 6f 72 20 72 65 | 74 75 72 6e 20 61 66 74 |ce or re|turn aft|
|00000b30| 65 72 20 22 5d 22 0d 6f | 6e 20 44 69 73 70 6c 61 |er "]".o|n Displa|
|00000b40| 79 54 65 78 74 20 6e 75 | 6d 0d 70 75 74 20 28 6f |yText nu|m.put (o|
|00000b50| 66 66 73 65 74 28 22 5b | 22 26 20 6e 75 6d 20 26 |ffset("[|"& num &|
|00000b60| 20 22 5d 22 2c 20 66 69 | 65 6c 64 20 22 74 65 78 | "]", fi|eld "tex|
|00000b70| 74 22 29 2b 34 29 20 69 | 6e 74 6f 20 66 69 72 73 |t")+4) i|nto firs|
|00000b80| 74 43 68 61 72 0d 70 75 | 74 20 28 6f 66 66 73 65 |tChar.pu|t (offse|
|00000b90| 74 28 22 5b 22 20 26 20 | 28 4e 75 6d 20 2b 20 31 |t("[" & |(Num + 1|
|00000ba0| 29 20 26 20 22 5d 22 2c | 20 66 69 65 6c 64 20 22 |) & "]",| field "|
|00000bb0| 74 65 78 74 22 29 2d 32 | 29 20 69 6e 74 6f 20 6c |text")-2|) into l|
|00000bc0| 61 73 74 43 68 61 72 0d | 69 66 20 6c 61 73 74 43 |astChar.|if lastC|
|00000bd0| 68 61 72 20 3e 20 30 20 | 74 68 65 6e 20 70 75 74 |har > 0 |then put|
|00000be0| 20 63 68 61 72 20 66 69 | 72 73 74 43 68 61 72 20 | char fi|rstChar |
|00000bf0| 74 6f 20 6c 61 73 74 43 | 68 61 72 20 6f 66 20 66 |to lastC|har of f|
|00000c00| 69 65 6c 64 20 22 74 65 | 78 74 22 20 c2 0d 69 6e |ield "te|xt" ..in|
|00000c10| 74 6f 20 66 69 65 6c 64 | 20 22 74 65 78 74 64 69 |to field| "textdi|
|00000c20| 73 70 6c 61 79 22 0d 65 | 6e 64 20 44 69 73 70 6c |splay".e|nd Displ|
|00000c30| 61 79 54 65 78 74 0d 0d | 2d 2d 52 57 20 76 65 72 |ayText..|--RW ver|
|00000c40| 73 69 6f 6e 20 6f 66 20 | 28 64 69 73 70 6c 61 79 |sion of |(display|
|00000c50| 20 61 20 70 69 65 63 65 | 20 6f 66 20 74 65 78 74 | a piece| of text|
|00000c60| 29 20 66 6f 72 20 54 65 | 78 74 69 6e 66 6f 20 66 |) for Te|xtinfo f|
|00000c70| 69 65 6c 64 0d 2d 2d 20 | 66 6f 72 20 64 6f 75 62 |ield.-- |for doub|
|00000c80| 6c 65 20 64 69 67 69 74 | 20 6e 75 6d 62 65 72 73 |le digit| numbers|
|00000c90| 2c 20 79 6f 75 20 64 6f | 6e 27 74 20 77 61 6e 74 |, you do|n't want|
|00000ca0| 20 61 20 73 70 61 63 65 | 20 6f 72 20 72 65 74 75 | a space| or retu|
|00000cb0| 72 6e 20 61 66 74 65 72 | 20 22 5d 22 0d 6f 6e 20 |rn after| "]".on |
|00000cc0| 44 69 73 70 6c 61 79 54 | 65 78 74 54 65 72 6d 73 |DisplayT|extTerms|
|00000cd0| 20 6e 75 6d 0d 70 75 74 | 20 28 6f 66 66 73 65 74 | num.put| (offset|
|00000ce0| 28 22 5b 22 26 20 6e 75 | 6d 20 26 20 22 5d 22 2c |("["& nu|m & "]",|
|00000cf0| 20 66 69 65 6c 64 20 22 | 50 74 65 78 74 22 29 2b | field "|Ptext")+|
|00000d00| 34 29 20 69 6e 74 6f 20 | 66 69 72 73 74 43 68 61 |4) into |firstCha|
|00000d10| 72 0d 70 75 74 20 28 6f | 66 66 73 65 74 28 22 5b |r.put (o|ffset("[|
|00000d20| 22 20 26 20 28 4e 75 6d | 20 2b 20 31 29 20 26 20 |" & (Num| + 1) & |
|00000d30| 22 5d 22 2c 20 66 69 65 | 6c 64 20 22 50 74 65 78 |"]", fie|ld "Ptex|
|00000d40| 74 22 29 2d 32 29 20 69 | 6e 74 6f 20 6c 61 73 74 |t")-2) i|nto last|
|00000d50| 43 68 61 72 0d 69 66 20 | 6c 61 73 74 43 68 61 72 |Char.if |lastChar|
|00000d60| 20 3e 20 30 20 74 68 65 | 6e 20 70 75 74 20 63 68 | > 0 the|n put ch|
|00000d70| 61 72 20 66 69 72 73 74 | 43 68 61 72 20 74 6f 20 |ar first|Char to |
|00000d80| 6c 61 73 74 43 68 61 72 | 20 6f 66 20 66 69 65 6c |lastChar| of fiel|
|00000d90| 64 20 22 50 74 65 78 74 | 22 20 c2 0d 69 6e 74 6f |d "Ptext|" ..into|
|00000da0| 20 63 64 20 66 69 65 6c | 64 20 22 70 6f 70 74 65 | cd fiel|d "popte|
|00000db0| 78 74 64 69 73 70 6c 61 | 79 22 0d 65 6e 64 20 44 |xtdispla|y".end D|
|00000dc0| 69 73 70 6c 61 79 54 65 | 78 74 54 65 72 6d 73 0d |isplayTe|xtTerms.|
|00000dd0| 0d 2d 2d 20 65 6e 64 20 | 52 57 20 64 69 73 70 6c |.-- end |RW displ|
|00000de0| 61 79 20 74 65 78 74 20 | 68 61 6e 64 6c 65 72 73 |ay text |handlers|
|00000df0| 0d 0d 0d 2d 2d 2d 2d 7c | 20 70 72 65 72 65 71 75 |...----|| prerequ|
|00000e00| 69 73 69 74 65 20 61 6e | 64 20 63 68 61 6c 6c 65 |isite an|d challe|
|00000e10| 6e 67 65 20 68 61 6e 64 | 6c 65 72 73 20 2e 32 0d |nge hand|lers .2.|
|00000e20| 0d 6f 6e 20 69 6e 69 74 | 50 72 65 72 65 71 0d 67 |.on init|Prereq.g|
|00000e30| 6c 6f 62 61 6c 20 67 50 | 72 65 72 65 71 53 63 6f |lobal gP|rereqSco|
|00000e40| 72 65 73 0d 70 75 74 20 | 22 2c 22 20 62 65 66 6f |res.put |"," befo|
|00000e50| 72 65 20 67 50 72 65 72 | 65 71 53 63 6f 72 65 73 |re gPrer|eqScores|
|00000e60| 0d 65 6e 64 20 69 6e 69 | 74 50 72 65 72 65 71 0d |.end ini|tPrereq.|
|00000e70| 0d 2d 2d 2f 20 64 65 76 | 65 6c 6f 70 6d 65 6e 74 |.--/ dev|elopment|
|00000e80| 20 74 6f 6f 6c 73 20 73 | 74 61 72 74 20 2f 2d 2d | tools s|tart /--|
|00000e90| 0d 0d 2d 2d 54 4f 4f 4c | 53 20 43 4f 44 45 20 62 |..--TOOL|S CODE b|
|00000ea0| 79 20 52 57 20 31 31 2f | 31 35 0d 6f 6e 20 64 6e |y RW 11/|15.on dn|
|00000eb0| 6f 74 65 4f 70 74 69 6f | 6e 73 0d 69 66 20 74 68 |oteOptio|ns.if th|
|00000ec0| 65 20 6f 70 74 69 6f 6e | 6b 65 79 20 69 73 20 64 |e option|key is d|
|00000ed0| 6f 77 6e 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |own then|.set the|
|00000ee0| 20 6c 6f 63 20 6f 66 20 | 63 64 20 66 6c 64 20 64 | loc of |cd fld d|
|00000ef0| 65 76 6e 6f 74 65 20 74 | 6f 20 74 68 65 20 6d 6f |evnote t|o the mo|
|00000f00| 75 73 65 6c 6f 63 0d 65 | 6c 73 65 20 69 66 20 74 |useloc.e|lse if t|
|00000f10| 68 65 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 20 69 73 |he comma|ndKey is|
|00000f20| 20 64 6f 77 6e 20 74 68 | 65 6e 0d 61 6e 73 77 65 | down th|en.answe|
|00000f30| 72 20 22 68 69 64 65 20 | 64 6e 6f 74 65 3f 22 20 |r "hide |dnote?" |
|00000f40| 77 69 74 68 20 22 79 65 | 73 22 20 6f 72 20 22 6e |with "ye|s" or "n|
|00000f50| 6f 22 0d 69 66 20 69 74 | 20 69 73 20 22 79 65 73 |o".if it| is "yes|
|00000f60| 22 20 74 68 65 6e 20 68 | 69 64 65 20 63 64 20 66 |" then h|ide cd f|
|00000f70| 6c 64 20 64 65 76 6e 6f | 74 65 0d 65 6e 64 20 69 |ld devno|te.end i|
|00000f80| 66 0d 65 6e 64 20 64 6e | 6f 74 65 4f 70 74 69 6f |f.end dn|oteOptio|
|00000f90| 6e 73 0d 0d 6f 6e 20 74 | 6f 6f 6c 73 20 68 61 6e |ns..on t|ools han|
|00000fa0| 64 4e 61 6d 65 2c 6f 70 | 74 70 61 72 61 6d 73 0d |dName,op|tparams.|
|00000fb0| 67 65 74 20 74 68 65 20 | 70 61 72 61 6d 73 0d 64 |get the |params.d|
|00000fc0| 65 6c 65 74 65 20 69 74 | 65 6d 20 31 20 6f 66 20 |elete it|em 1 of |
|00000fd0| 69 74 20 2d 2d 20 54 6f | 6f 6c 73 20 61 6e 64 20 |it -- To|ols and |
|00000fe0| 68 61 6e 64 6e 61 6d 65 | 0d 70 75 74 20 68 61 6e |handname|.put han|
|00000ff0| 64 4e 61 6d 65 20 26 26 | 20 69 74 20 69 6e 74 6f |dName &&| it into|
|00001000| 20 74 68 65 43 6f 6d 6d | 61 6e 64 0d 73 65 6e 64 | theComm|and.send|
|00001010| 20 74 68 65 43 6f 6d 6d | 61 6e 64 20 74 6f 20 62 | theComm|and to b|
|00001020| 74 6e 20 22 52 57 20 54 | 6f 6f 6c 73 22 20 6f 66 |tn "RW T|ools" of|
|00001030| 20 63 64 20 22 61 75 74 | 6f 6d 61 74 65 22 0d 65 | cd "aut|omate".e|
|00001040| 6e 64 20 74 6f 6f 6c 73 | 0d 6f 6e 20 46 69 6e 64 |nd tools|.on Find|
|00001050| 53 74 72 69 6e 67 0d 74 | 6f 6f 6c 73 20 46 69 6e |String.t|ools Fin|
|00001060| 64 53 74 72 69 6e 67 0d | 65 6e 64 20 46 69 6e 64 |dString.|end Find|
|00001070| 53 74 72 69 6e 67 0d 6f | 6e 20 64 43 6f 6c 6c 65 |String.o|n dColle|
|00001080| 63 74 0d 74 6f 6f 6c 73 | 20 64 43 6f 6c 6c 65 63 |ct.tools| dCollec|
|00001090| 74 0d 65 6e 64 20 64 43 | 6f 6c 6c 65 63 74 0d 6f |t.end dC|ollect.o|
|000010a0| 6e 20 64 48 69 64 65 0d | 70 75 74 20 22 68 69 64 |n dHide.|put "hid|
|000010b0| 65 22 20 69 6e 74 6f 20 | 70 72 61 6d 0d 74 6f 6f |e" into |pram.too|
|000010c0| 6c 73 20 73 68 6f 77 48 | 69 64 65 2c 70 72 61 6d |ls showH|ide,pram|
|000010d0| 0d 65 6e 64 20 64 48 69 | 64 65 0d 6f 6e 20 64 53 |.end dHi|de.on dS|
|000010e0| 68 6f 77 0d 70 75 74 20 | 22 73 68 6f 77 22 20 69 |how.put |"show" i|
|000010f0| 6e 74 6f 20 70 72 61 6d | 0d 74 6f 6f 6c 73 20 73 |nto pram|.tools s|
|00001100| 68 6f 77 48 69 64 65 2c | 70 72 61 6d 0d 65 6e 64 |howHide,|pram.end|
|00001110| 20 64 53 68 6f 77 0d 6f | 6e 20 6e 65 78 74 44 6e | dShow.o|n nextDn|
|00001120| 6f 74 65 0d 74 6f 6f 6c | 73 20 6e 65 78 74 44 6e |ote.tool|s nextDn|
|00001130| 6f 74 65 0d 65 6e 64 20 | 6e 65 78 74 44 6e 6f 74 |ote.end |nextDnot|
|00001140| 65 0d 6f 6e 20 64 4e 6f | 74 65 20 64 6f 41 63 74 |e.on dNo|te doAct|
|00001150| 69 6f 6e 0d 73 65 6e 64 | 20 22 64 4e 6f 74 65 22 |ion.send| "dNote"|
|00001160| 20 26 26 20 64 6f 41 63 | 74 69 6f 6e 20 74 6f 20 | && doAc|tion to |
|00001170| 62 74 6e 20 22 52 57 20 | 54 6f 6f 6c 73 22 20 6f |btn "RW |Tools" o|
|00001180| 66 20 63 61 72 64 20 61 | 75 74 6f 6d 61 74 65 0d |f card a|utomate.|
|00001190| 65 6e 64 20 64 4e 6f 74 | 65 0d 2d 2d 20 65 6e 64 |end dNot|e.-- end|
|000011a0| 20 6f 66 20 52 57 74 6f | 6f 6c 73 2d 2d 2d 2d 2d | of RWto|ols-----|
|000011b0| 2d 2d 2d 0d 0d 6f 6e 20 | 6e 65 78 74 4d 65 6e 75 |---..on |nextMenu|
|000011c0| 0d 73 65 6e 64 20 6e 65 | 78 74 4d 65 6e 75 20 74 |.send ne|xtMenu t|
|000011d0| 6f 20 63 61 72 64 20 61 | 75 74 6f 6d 61 74 65 0d |o card a|utomate.|
|000011e0| 65 6e 64 20 6e 65 78 74 | 4d 65 6e 75 0d 6f 6e 20 |end next|Menu.on |
|000011f0| 6e 6f 57 68 65 72 65 0d | 73 65 6e 64 20 6e 6f 57 |noWhere.|send noW|
|00001200| 68 65 72 65 20 74 6f 20 | 63 61 72 64 20 61 75 74 |here to |card aut|
|00001210| 6f 6d 61 74 65 0d 65 6e | 64 20 6e 6f 57 68 65 72 |omate.en|d noWher|
|00001220| 65 0d 6f 6e 20 6e 6f 6e | 65 78 74 0d 73 65 6e 64 |e.on non|ext.send|
|00001230| 20 6e 6f 6e 65 78 74 20 | 74 6f 20 63 61 72 64 20 | nonext |to card |
|00001240| 61 75 74 6f 6d 61 74 65 | 0d 65 6e 64 20 6e 6f 6e |automate|.end non|
|00001250| 65 78 74 0d 6f 6e 20 6e | 6f 50 72 65 76 0d 73 65 |ext.on n|oPrev.se|
|00001260| 6e 64 20 6e 6f 50 72 65 | 76 20 74 6f 20 63 61 72 |nd noPre|v to car|
|00001270| 64 20 61 75 74 6f 6d 61 | 74 65 0d 65 6e 64 20 6e |d automa|te.end n|
|00001280| 6f 50 72 65 76 0d 6f 6e | 20 69 6e 73 74 61 6c 6c |oPrev.on| install|
|00001290| 56 69 64 65 6f 0d 73 65 | 6e 64 20 69 6e 73 74 61 |Video.se|nd insta|
|000012a0| 6c 6c 56 69 64 65 6f 20 | 74 6f 20 63 61 72 64 20 |llVideo |to card |
|000012b0| 61 75 74 6f 6d 61 74 65 | 0d 65 6e 64 20 69 6e 73 |automate|.end ins|
|000012c0| 74 61 6c 6c 56 69 64 65 | 6f 0d 0d 2d 2d 2f 20 64 |tallVide|o..--/ d|
|000012d0| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 74 6f 6f 6c 73 |evelopme|nt tools|
|000012e0| 20 65 6e 64 20 2f 2d 2d | 0d 0d 0d 2d 2d 7c 7c 7c | end /--|...--||||
|000012f0| 2d 2d 20 53 54 41 4e 44 | 41 52 44 20 53 54 41 43 |-- STAND|ARD STAC|
|00001300| 4b 20 53 43 52 49 50 54 | 53 20 53 54 41 52 54 20 |K SCRIPT|S START |
|00001310| 2d 2d 7c 7c 7c 2d 2d 0d | 2d 2d 20 66 65 62 20 32 |--|||--.|-- feb 2|
|00001320| 38 2c 20 31 39 39 30 0d | 0d 2d 2d 2d 2d 7c 20 56 |8, 1990.|.----| V|
|00001330| 49 44 45 4f 20 53 43 52 | 49 50 54 20 76 65 72 73 |IDEO SCR|IPT vers|
|00001340| 69 6f 6e 20 38 0d 0d 6f | 6e 20 69 64 6c 65 0d 69 |ion 8..o|n idle.i|
|00001350| 64 6c 65 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |dleVideo|Controll|
|00001360| 65 72 0d 70 61 73 73 20 | 69 64 6c 65 0d 65 6e 64 |er.pass |idle.end|
|00001370| 20 69 64 6c 65 0d 0d 6f | 6e 20 67 6f 56 69 64 65 | idle..o|n goVide|
|00001380| 6f 53 65 74 75 70 0d 76 | 69 73 75 61 6c 20 69 72 |oSetup.v|isual ir|
|00001390| 69 73 20 6f 70 65 6e 0d | 70 75 73 68 20 63 61 72 |is open.|push car|
|000013a0| 64 0d 67 6f 20 63 61 72 | 64 20 22 56 69 64 65 6f |d.go car|d "Video|
|000013b0| 64 69 73 63 20 53 65 74 | 75 70 22 20 6f 66 20 73 |disc Set|up" of s|
|000013c0| 74 61 63 6b 20 22 48 6f | 6d 65 22 0d 65 6e 64 20 |tack "Ho|me".end |
|000013d0| 67 6f 56 69 64 65 6f 53 | 65 74 75 70 0d 0d 6f 6e |goVideoS|etup..on|
|000013e0| 20 73 74 65 70 56 69 64 | 65 6f 42 6f 75 6e 64 20 | stepVid|eoBound |
|000013f0| 64 69 72 2c 20 62 6f 75 | 6e 64 46 72 61 6d 65 0d |dir, bou|ndFrame.|
|00001400| 69 66 20 64 69 72 20 2a | 20 76 69 64 65 6f 46 72 |if dir *| videoFr|
|00001410| 61 6d 65 28 29 20 3e 3d | 20 64 69 72 20 2a 20 62 |ame() >=| dir * b|
|00001420| 6f 75 6e 64 46 72 61 6d | 65 20 74 68 65 6e 0d 73 |oundFram|e then.s|
|00001430| 65 61 72 63 68 56 69 64 | 65 6f 20 62 6f 75 6e 64 |earchVid|eo bound|
|00001440| 46 72 61 6d 65 0d 62 65 | 65 70 0d 65 6c 73 65 0d |Frame.be|ep.else.|
|00001450| 73 74 65 70 56 69 64 65 | 6f 20 64 69 72 0d 65 6e |stepVide|o dir.en|
|00001460| 64 20 69 66 0d 65 6e 64 | 20 73 74 65 70 56 69 64 |d if.end| stepVid|
|00001470| 65 6f 42 6f 75 6e 64 0d | 0d 6f 6e 20 6d 61 6b 65 |eoBound.|.on make|
|00001480| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|00001490| 67 6c 6f 62 61 6c 20 67 | 43 6f 6e 74 72 6f 6c 43 |global g|ControlC|
|000014a0| 6c 69 63 6b 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |lick.put| 0 into |
|000014b0| 67 43 6f 6e 74 72 6f 6c | 43 6c 69 63 6b 0d 69 66 |gControl|Click.if|
|000014c0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|000014d0| 64 20 66 6c 64 73 20 3e | 20 30 20 74 68 65 6e 0d |d flds >| 0 then.|
|000014e0| 69 66 20 66 69 6e 64 46 | 69 65 6c 64 28 22 56 69 |if findF|ield("Vi|
|000014f0| 64 65 6f 20 43 6f 6e 74 | 72 6f 6c 6c 65 72 22 29 |deo Cont|roller")|
|00001500| 20 69 73 20 6e 6f 74 20 | 66 61 6c 73 65 20 74 68 | is not |false th|
|00001510| 65 6e 0d 73 68 6f 77 20 | 63 64 20 66 6c 64 20 22 |en.show |cd fld "|
|00001520| 56 69 64 65 6f 20 43 6f | 6e 74 72 6f 6c 6c 65 72 |Video Co|ntroller|
|00001530| 22 0d 65 78 69 74 20 6d | 61 6b 65 56 69 64 65 6f |".exit m|akeVideo|
|00001540| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 65 6e 64 20 69 |Controll|er.end i|
|00001550| 66 0d 65 6e 64 20 69 66 | 0d 6c 6f 63 6b 20 73 63 |f.end if|.lock sc|
|00001560| 72 65 65 6e 0d 70 75 74 | 20 6d 61 6b 65 4c 69 6e |reen.put| makeLin|
|00001570| 65 73 28 20 c2 0d 22 b1 | b1 b1 b1 b1 b1 b1 b1 22 |es( ..".|......."|
|00001580| 2c 20 c2 0d 22 50 61 75 | 73 65 22 2c 20 c2 0d 22 |, .."Pau|se", .."|
|00001590| 50 6c 61 79 22 2c 20 c2 | 0d 22 46 61 73 74 20 46 |Play", .|."Fast F|
|000015a0| 77 64 22 2c 20 c2 0d 22 | 46 61 73 74 20 52 65 76 |wd", .."|Fast Rev|
|000015b0| 22 2c c2 0d 22 53 74 65 | 70 20 46 77 64 22 2c 20 |",.."Ste|p Fwd", |
|000015c0| c2 0d 22 53 74 65 70 20 | 52 65 76 22 2c 20 c2 0d |.."Step |Rev", ..|
|000015d0| 22 51 75 69 74 22 2c 20 | 22 30 3a 30 30 22 29 20 |"Quit", |"0:00") |
|000015e0| 69 6e 74 6f 20 6d 65 6e | 75 4c 69 73 74 0d 6d 61 |into men|uList.ma|
|000015f0| 6b 65 43 61 72 64 46 69 | 65 6c 64 20 6e 61 6d 65 |keCardFi|eld name|
|00001600| 2c 20 22 56 69 64 65 6f | 20 43 6f 6e 74 72 6f 6c |, "Video| Control|
|00001610| 6c 65 72 22 2c 20 c2 0d | 77 69 64 74 68 2c 20 38 |ler", ..|width, 8|
|00001620| 32 2c 20 68 65 69 67 68 | 74 2c 31 35 34 2c 20 c2 |2, heigh|t,154, .|
|00001630| 0d 74 6f 70 4c 65 66 74 | 2c 20 22 32 36 34 2c 31 |.topLeft|, "264,1|
|00001640| 36 36 22 2c c2 0d 6c 6f | 63 6b 54 65 78 74 2c 20 |66",..lo|ckText, |
|00001650| 74 72 75 65 2c 20 74 65 | 78 74 46 6f 6e 74 2c 20 |true, te|xtFont, |
|00001660| 22 62 74 6e 65 72 61 73 | 20 64 65 6d 69 22 2c 20 |"btneras| demi", |
|00001670| c2 0d 74 65 78 74 53 69 | 7a 65 2c 31 32 2c 73 74 |..textSi|ze,12,st|
|00001680| 79 6c 65 2c 20 22 73 68 | 61 64 6f 77 22 2c 20 74 |yle, "sh|adow", t|
|00001690| 65 78 74 61 6c 69 67 6e | 2c 20 63 65 6e 74 65 72 |extalign|, center|
|000016a0| 2c 20 77 69 64 65 4d 61 | 72 67 69 6e 73 2c 74 72 |, wideMa|rgins,tr|
|000016b0| 75 65 0d 70 75 74 20 6d | 65 6e 75 4c 69 73 74 20 |ue.put m|enuList |
|000016c0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 56 69 64 |into cd |fld "Vid|
|000016d0| 65 6f 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 22 0d 73 |eo Contr|oller".s|
|000016e0| 65 74 20 73 63 72 69 70 | 74 20 6f 66 20 63 64 20 |et scrip|t of cd |
|000016f0| 66 6c 64 20 22 56 69 64 | 65 6f 20 43 6f 6e 74 72 |fld "Vid|eo Contr|
|00001700| 6f 6c 6c 65 72 22 20 74 | 6f 20 c2 0d 6d 61 6b 65 |oller" t|o ..make|
|00001710| 4c 69 6e 65 73 28 22 6f | 6e 20 6d 6f 75 73 65 44 |Lines("o|n mouseD|
|00001720| 6f 77 6e 22 2c 20 22 76 | 69 64 65 6f 43 6f 6e 74 |own", "v|ideoCont|
|00001730| 72 6f 6c 6c 65 72 22 2c | 20 22 65 6e 64 20 6d 6f |roller",| "end mo|
|00001740| 75 73 65 44 6f 77 6e 22 | 2c 20 c2 0d 22 6f 6e 20 |useDown"|, .."on |
|00001750| 6d 6f 75 73 65 55 70 22 | 2c 20 22 65 6e 64 20 6d |mouseUp"|, "end m|
|00001760| 6f 75 73 65 55 70 22 20 | 29 0d 63 68 6f 6f 73 65 |ouseUp" |).choose|
|00001770| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 75 6e 6c | browse |tool.unl|
|00001780| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 6d |ock scre|en.end m|
|00001790| 61 6b 65 56 69 64 65 6f | 43 6f 6e 74 72 6f 6c 6c |akeVideo|Controll|
|000017a0| 65 72 0d 0d 6f 6e 20 76 | 69 64 65 6f 43 6f 6e 74 |er..on v|ideoCont|
|000017b0| 72 6f 6c 6c 65 72 0d 67 | 6c 6f 62 61 6c 20 67 56 |roller.g|lobal gV|
|000017c0| 69 64 65 6f 46 69 72 73 | 74 46 72 61 6d 65 2c 20 |ideoFirs|tFrame, |
|000017d0| 67 56 69 64 65 6f 4c 61 | 73 74 46 72 61 6d 65 2c |gVideoLa|stFrame,|
|000017e0| 20 67 56 69 64 65 6f 4c | 61 73 74 43 6f 6d 6d 61 | gVideoL|astComma|
|000017f0| 6e 64 0d 67 6c 6f 62 61 | 6c 20 47 76 69 64 65 6f |nd.globa|l Gvideo|
|00001800| 54 79 70 65 0d 70 75 74 | 20 63 6c 69 63 6b 4c 69 |Type.put| clickLi|
|00001810| 6e 65 56 69 64 65 6f 28 | 29 20 69 6e 74 6f 20 6c |neVideo(|) into l|
|00001820| 69 6e 65 4e 75 6d 0d 70 | 75 74 20 6c 69 6e 65 20 |ineNum.p|ut line |
|00001830| 6c 69 6e 65 4e 75 6d 20 | 6f 66 20 63 64 20 66 6c |lineNum |of cd fl|
|00001840| 64 20 22 76 69 64 65 6f | 20 63 6f 6e 74 72 6f 6c |d "video| control|
|00001850| 6c 65 72 22 20 69 6e 74 | 6f 20 63 6d 64 4e 61 6d |ler" int|o cmdNam|
|00001860| 65 0d 69 66 20 6c 69 6e | 65 4e 75 6d 20 3e 20 31 |e.if lin|eNum > 1|
|00001870| 20 74 68 65 6e 0d 70 75 | 74 20 63 6d 64 4e 61 6d | then.pu|t cmdNam|
|00001880| 65 20 69 6e 74 6f 20 67 | 56 69 64 65 6f 4c 61 73 |e into g|VideoLas|
|00001890| 74 43 6f 6d 6d 61 6e 64 | 0d 65 6e 64 20 69 66 0d |tCommand|.end if.|
|000018a0| 69 66 20 63 6d 64 4e 61 | 6d 65 20 69 73 20 22 50 |if cmdNa|me is "P|
|000018b0| 61 75 73 65 22 20 74 68 | 65 6e 0d 73 74 6f 70 56 |ause" th|en.stopV|
|000018c0| 69 64 65 6f 0d 65 6c 73 | 65 20 69 66 20 63 6d 64 |ideo.els|e if cmd|
|000018d0| 4e 61 6d 65 20 69 73 20 | 22 50 6c 61 79 22 20 74 |Name is |"Play" t|
|000018e0| 68 65 6e 0d 69 66 20 76 | 69 64 65 6f 46 72 61 6d |hen.if v|ideoFram|
|000018f0| 65 28 29 20 3c 20 67 56 | 69 64 65 6f 4c 61 73 74 |e() < gV|ideoLast|
|00001900| 46 72 61 6d 65 20 74 68 | 65 6e 0d 70 6c 61 79 56 |Frame th|en.playV|
|00001910| 69 64 65 6f 20 22 68 65 | 72 65 22 2c 20 67 56 69 |ideo "he|re", gVi|
|00001920| 64 65 6f 4c 61 73 74 46 | 72 61 6d 65 0d 65 6c 73 |deoLastF|rame.els|
|00001930| 65 0d 73 65 61 72 63 68 | 56 69 64 65 6f 20 67 56 |e.search|Video gV|
|00001940| 69 64 65 6f 4c 61 73 74 | 46 72 61 6d 65 0d 65 6e |ideoLast|Frame.en|
|00001950| 64 20 69 66 0d 65 6c 73 | 65 20 69 66 20 63 6d 64 |d if.els|e if cmd|
|00001960| 4e 61 6d 65 20 69 73 20 | 22 46 61 73 74 20 46 77 |Name is |"Fast Fw|
|00001970| 64 22 20 74 68 65 6e 0d | 66 61 73 74 56 69 64 65 |d" then.|fastVide|
|00001980| 6f 42 6f 75 6e 64 20 31 | 2c 20 67 56 69 64 65 6f |oBound 1|, gVideo|
|00001990| 4c 61 73 74 46 72 61 6d | 65 0d 65 6c 73 65 20 69 |LastFram|e.else i|
|000019a0| 66 20 63 6d 64 4e 61 6d | 65 20 69 73 20 22 46 61 |f cmdNam|e is "Fa|
|000019b0| 73 74 20 52 65 76 22 20 | 74 68 65 6e 0d 66 61 73 |st Rev" |then.fas|
|000019c0| 74 56 69 64 65 6f 42 6f | 75 6e 64 20 2d 31 2c 20 |tVideoBo|und -1, |
|000019d0| 67 56 69 64 65 6f 46 69 | 72 73 74 46 72 61 6d 65 |gVideoFi|rstFrame|
|000019e0| 0d 65 6c 73 65 20 69 66 | 20 63 6d 64 4e 61 6d 65 |.else if| cmdName|
|000019f0| 20 69 73 20 22 53 74 65 | 70 20 46 77 64 22 20 74 | is "Ste|p Fwd" t|
|00001a00| 68 65 6e 0d 73 74 65 70 | 56 69 64 65 6f 42 6f 75 |hen.step|VideoBou|
|00001a10| 6e 64 20 31 2c 20 67 56 | 69 64 65 6f 4c 61 73 74 |nd 1, gV|ideoLast|
|00001a20| 46 72 61 6d 65 0d 65 6c | 73 65 20 69 66 20 63 6d |Frame.el|se if cm|
|00001a30| 64 4e 61 6d 65 20 69 73 | 20 22 53 74 65 70 20 52 |dName is| "Step R|
|00001a40| 65 76 22 20 74 68 65 6e | 0d 73 74 65 70 56 69 64 |ev" then|.stepVid|
|00001a50| 65 6f 42 6f 75 6e 64 20 | 2d 31 2c 20 67 56 69 64 |eoBound |-1, gVid|
|00001a60| 65 6f 46 69 72 73 74 46 | 72 61 6d 65 0d 65 6c 73 |eoFirstF|rame.els|
|00001a70| 65 20 69 66 20 6c 69 6e | 65 4e 75 6d 20 3d 20 31 |e if lin|eNum = 1|
|00001a80| 20 74 68 65 6e 0d 64 72 | 61 67 54 61 72 67 0d 65 | then.dr|agTarg.e|
|00001a90| 6c 73 65 20 69 66 20 63 | 6d 64 4e 61 6d 65 20 69 |lse if c|mdName i|
|00001aa0| 73 20 22 51 75 69 74 22 | 20 74 68 65 6e 0d 64 65 |s "Quit"| then.de|
|00001ab0| 6c 65 74 65 56 69 64 65 | 6f 43 6f 6e 74 72 6f 6c |leteVide|oControl|
|00001ac0| 6c 65 72 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 76 |ler.end |if.end v|
|00001ad0| 69 64 65 6f 43 6f 6e 74 | 72 6f 6c 6c 65 72 0d 0d |ideoCont|roller..|
|00001ae0| 66 75 6e 63 74 69 6f 6e | 20 63 6c 69 63 6b 4c 69 |function| clickLi|
|00001af0| 6e 65 56 69 64 65 6f 0d | 2d 2d 20 4e 4f 54 45 3a |neVideo.|-- NOTE:|
|00001b00| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 20 70 61 72 61 | control|ler para|
|00001b10| 6d 65 74 65 72 73 20 61 | 72 65 20 68 61 72 64 2d |meters a|re hard-|
|00001b20| 63 6f 64 65 64 20 68 65 | 72 65 20 66 6f 72 20 73 |coded he|re for s|
|00001b30| 70 65 65 64 2e 20 6d 77 | 0d 70 75 74 20 74 68 65 |peed. mw|.put the|
|00001b40| 20 74 6f 70 20 6f 66 20 | 63 64 20 66 6c 64 20 22 | top of |cd fld "|
|00001b50| 76 69 64 65 6f 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |video co|ntroller|
|00001b60| 22 20 69 6e 74 6f 20 63 | 6f 6e 74 72 6f 6c 54 6f |" into c|ontrolTo|
|00001b70| 70 0d 72 65 74 75 72 6e | 20 74 72 75 6e 63 28 28 |p.return| trunc((|
|00001b80| 69 74 65 6d 20 32 20 6f | 66 20 74 68 65 20 6d 6f |item 2 o|f the mo|
|00001b90| 75 73 65 4c 6f 63 20 2d | 20 63 6f 6e 74 72 6f 6c |useLoc -| control|
|00001ba0| 54 6f 70 29 20 2f 20 31 | 36 29 20 2b 20 31 0d 65 |Top) / 1|6) + 1.e|
|00001bb0| 6e 64 20 63 6c 69 63 6b | 4c 69 6e 65 56 69 64 65 |nd click|LineVide|
|00001bc0| 6f 0d 0d 6f 6e 20 66 61 | 73 74 56 69 64 65 6f 42 |o..on fa|stVideoB|
|00001bd0| 6f 75 6e 64 20 64 69 72 | 2c 20 62 6f 75 6e 64 46 |ound dir|, boundF|
|00001be0| 72 61 6d 65 0d 67 6c 6f | 62 61 6c 20 67 56 69 64 |rame.glo|bal gVid|
|00001bf0| 65 6f 4c 61 73 74 46 72 | 61 6d 65 2c 20 67 54 69 |eoLastFr|ame, gTi|
|00001c00| 6d 65 52 65 6d 61 69 6e | 69 6e 67 2c 20 67 56 69 |meRemain|ing, gVi|
|00001c10| 64 65 6f 4c 61 73 74 43 | 6f 6d 6d 61 6e 64 0d 70 |deoLastC|ommand.p|
|00001c20| 75 74 20 76 69 64 65 6f | 53 74 61 74 75 73 28 29 |ut video|Status()|
|00001c30| 20 69 6e 74 6f 20 63 75 | 72 53 74 61 74 0d 76 69 | into cu|rStat.vi|
|00001c40| 64 65 6f 46 72 61 6d 65 | 73 50 65 72 53 65 63 6f |deoFrame|sPerSeco|
|00001c50| 6e 64 20 22 66 61 73 74 | 22 0d 70 75 74 20 76 69 |nd "fast|".put vi|
|00001c60| 64 65 6f 46 72 61 6d 65 | 28 29 20 69 6e 74 6f 20 |deoFrame|() into |
|00001c70| 63 75 72 46 72 61 6d 65 | 0d 69 66 20 64 69 72 20 |curFrame|.if dir |
|00001c80| 2a 20 63 75 72 46 72 61 | 6d 65 20 3c 20 64 69 72 |* curFra|me < dir|
|00001c90| 20 2a 20 62 6f 75 6e 64 | 46 72 61 6d 65 20 74 68 | * bound|Frame th|
|00001ca0| 65 6e 0d 2d 2d 20 70 6c | 61 79 65 72 20 62 75 67 |en.-- pl|ayer bug|
|00001cb0| 20 3d 20 2d 3e 20 66 6f | 72 77 61 72 64 0d 70 6c | = -> fo|rward.pl|
|00001cc0| 61 79 56 69 64 65 6f 20 | 63 75 72 46 72 61 6d 65 |ayVideo |curFrame|
|00001cd0| 2c 20 62 6f 75 6e 64 46 | 72 61 6d 65 0d 72 65 70 |, boundF|rame.rep|
|00001ce0| 65 61 74 20 77 68 69 6c | 65 20 74 68 65 20 6d 6f |eat whil|e the mo|
|00001cf0| 75 73 65 20 69 73 20 64 | 6f 77 6e 0d 75 70 64 61 |use is d|own.upda|
|00001d00| 74 65 56 69 64 65 6f 54 | 69 6d 65 0d 65 6e 64 20 |teVideoT|ime.end |
|00001d10| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 69 66 |repeat.e|nd if.if|
|00001d20| 20 69 74 65 6d 20 31 20 | 6f 66 20 63 75 72 53 74 | item 1 |of curSt|
|00001d30| 61 74 20 69 73 20 22 70 | 6c 61 79 22 20 74 68 65 |at is "p|lay" the|
|00001d40| 6e 0d 69 66 20 76 69 64 | 65 6f 46 72 61 6d 65 28 |n.if vid|eoFrame(|
|00001d50| 29 20 3c 20 67 56 69 64 | 65 6f 4c 61 73 74 46 72 |) < gVid|eoLastFr|
|00001d60| 61 6d 65 20 74 68 65 6e | 0d 70 75 74 20 22 70 6c |ame then|.put "pl|
|00001d70| 61 79 22 20 69 6e 74 6f | 20 67 56 69 64 65 6f 4c |ay" into| gVideoL|
|00001d80| 61 73 74 43 6f 6d 6d 61 | 6e 64 0d 70 6c 61 79 56 |astComma|nd.playV|
|00001d90| 69 64 65 6f 20 22 68 65 | 72 65 22 2c 20 67 56 69 |ideo "he|re", gVi|
|00001da0| 64 65 6f 4c 61 73 74 46 | 72 61 6d 65 0d 2d 2d 20 |deoLastF|rame.-- |
|00001db0| 77 61 69 74 46 6f 72 4d | 6f 75 73 65 43 6c 69 63 |waitForM|ouseClic|
|00001dc0| 6b 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 73 74 |k.end if|.else.st|
|00001dd0| 6f 70 56 69 64 65 6f 0d | 65 6e 64 20 69 66 0d 65 |opVideo.|end if.e|
|00001de0| 6e 64 20 66 61 73 74 56 | 69 64 65 6f 42 6f 75 6e |nd fastV|ideoBoun|
|00001df0| 64 0d 0d 6f 6e 20 69 64 | 6c 65 56 69 64 65 6f 43 |d..on id|leVideoC|
|00001e00| 6f 6e 74 72 6f 6c 6c 65 | 72 0d 67 6c 6f 62 61 6c |ontrolle|r.global|
|00001e10| 20 67 54 69 6d 65 52 65 | 6d 61 69 6e 69 6e 67 2c | gTimeRe|maining,|
|00001e20| 20 67 56 69 64 65 6f 4c | 61 73 74 43 6f 6d 6d 61 | gVideoL|astComma|
|00001e30| 6e 64 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |nd.if th|e number|
|00001e40| 20 6f 66 20 63 64 20 66 | 6c 64 73 20 3e 20 30 20 | of cd f|lds > 0 |
|00001e50| 74 68 65 6e 0d 69 66 20 | 28 74 68 65 20 73 68 6f |then.if |(the sho|
|00001e60| 72 74 20 6e 61 6d 65 20 | 6f 66 20 6c 61 73 74 20 |rt name |of last |
|00001e70| 63 64 20 66 6c 64 20 69 | 73 20 22 76 69 64 65 6f |cd fld i|s "video|
|00001e80| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 22 29 20 74 68 | control|ler") th|
|00001e90| 65 6e 0d 67 6c 6f 62 61 | 6c 20 67 44 69 73 63 53 |en.globa|l gDiscS|
|00001ea0| 69 64 65 0d 69 66 20 67 | 44 69 73 63 53 69 64 65 |ide.if g|DiscSide|
|00001eb0| 20 3c 3e 20 22 6e 6f 6e | 65 22 20 74 68 65 6e 0d | <> "non|e" then.|
|00001ec0| 75 70 64 61 74 65 56 69 | 64 65 6f 54 69 6d 65 0d |updateVi|deoTime.|
|00001ed0| 69 66 20 67 54 69 6d 65 | 52 65 6d 61 69 6e 69 6e |if gTime|Remainin|
|00001ee0| 67 20 b2 20 30 20 74 68 | 65 6e 0d 69 66 20 67 56 |g . 0 th|en.if gV|
|00001ef0| 69 64 65 6f 4c 61 73 74 | 43 6f 6d 6d 61 6e 64 20 |ideoLast|Command |
|00001f00| 69 73 20 22 70 6c 61 79 | 22 20 74 68 65 6e 20 64 |is "play|" then d|
|00001f10| 65 6c 65 74 65 56 69 64 | 65 6f 43 6f 6e 74 72 6f |eleteVid|eoContro|
|00001f20| 6c 6c 65 72 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ller.put| empty i|
|00001f30| 6e 74 6f 20 67 54 69 6d | 65 52 65 6d 61 69 6e 69 |nto gTim|eRemaini|
|00001f40| 6e 67 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ng.end i|f.end if|
|00001f50| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00001f60| 6e 64 20 69 64 6c 65 56 | 69 64 65 6f 43 6f 6e 74 |nd idleV|ideoCont|
|00001f70| 72 6f 6c 6c 65 72 0d 0d | 6f 6e 20 77 61 69 74 46 |roller..|on waitF|
|00001f80| 6f 72 4d 6f 75 73 65 43 | 6c 69 63 6b 0d 65 78 69 |orMouseC|lick.exi|
|00001f90| 74 20 77 61 69 74 46 6f | 72 4d 6f 75 73 65 43 6c |t waitFo|rMouseCl|
|00001fa0| 69 63 6b 0d 67 6c 6f 62 | 61 6c 20 67 54 69 6d 65 |ick.glob|al gTime|
|00001fb0| 52 65 6d 61 69 6e 69 6e | 67 2c 20 67 43 6f 6e 74 |Remainin|g, gCont|
|00001fc0| 72 6f 6c 43 6c 69 63 6b | 0d 2d 2d 20 67 43 6f 6e |rolClick|.-- gCon|
|00001fd0| 74 72 6f 6c 43 6c 69 63 | 6b 20 63 6f 75 6e 74 73 |trolClic|k counts|
|00001fe0| 20 68 6f 77 20 6d 61 6e | 79 20 74 69 6d 65 73 20 | how man|y times |
|00001ff0| 77 61 69 74 46 6f 72 4d | 6f 75 73 65 43 6c 69 63 |waitForM|ouseClic|
|00002000| 6b 20 68 61 73 20 62 65 | 65 6e 0d 2d 2d 20 69 6e |k has be|en.-- in|
|00002010| 76 6f 6b 65 64 2e 20 49 | 66 20 74 68 65 20 75 73 |voked. I|f the us|
|00002020| 65 72 20 63 6c 69 63 6b | 73 20 74 68 65 20 63 6f |er click|s the co|
|00002030| 6e 74 72 6f 6c 6c 65 72 | 20 28 64 72 61 67 20 6f |ntroller| (drag o|
|00002040| 72 20 70 6c 61 79 29 20 | 6d 6f 72 65 0d 2d 2d 20 |r play) |more.-- |
|00002050| 74 68 61 6e 20 36 20 74 | 69 6d 65 73 2c 20 74 68 |than 6 t|imes, th|
|00002060| 65 20 76 69 64 65 6f 20 | 61 6e 64 20 74 68 65 20 |e video |and the |
|00002070| 63 6c 6f 63 6b 20 77 69 | 6c 6c 20 73 74 6f 70 2e |clock wi|ll stop.|
|00002080| 0d 2d 2d 20 49 66 20 77 | 65 20 64 6f 6e 27 74 20 |.-- If w|e don't |
|00002090| 63 68 65 63 6b 20 74 68 | 69 73 2c 20 74 68 65 20 |check th|is, the |
|000020a0| 75 73 65 72 20 63 6f 75 | 6c 64 20 67 65 74 20 61 |user cou|ld get a|
|000020b0| 20 22 74 6f 6f 20 6d 75 | 63 68 20 72 65 63 75 72 | "too mu|ch recur|
|000020c0| 73 69 6f 6e 22 0d 2d 2d | 20 64 69 61 6c 6f 67 20 |sion".--| dialog |
|000020d0| 62 6f 78 2c 20 77 68 69 | 63 68 20 69 73 20 75 6e |box, whi|ch is un|
|000020e0| 61 63 63 65 70 74 61 62 | 6c 65 2e 0d 61 64 64 20 |acceptab|le..add |
|000020f0| 31 20 74 6f 20 67 43 6f | 6e 74 72 6f 6c 43 6c 69 |1 to gCo|ntrolCli|
|00002100| 63 6b 0d 69 66 20 67 43 | 6f 6e 74 72 6f 6c 43 6c |ck.if gC|ontrolCl|
|00002110| 69 63 6b 20 3e 20 36 20 | 74 68 65 6e 0d 70 75 74 |ick > 6 |then.put|
|00002120| 20 30 20 69 6e 74 6f 20 | 67 43 6f 6e 74 72 6f 6c | 0 into |gControl|
|00002130| 43 6c 69 63 6b 0d 2d 2d | 70 6c 61 79 20 62 6f 69 |Click.--|play boi|
|00002140| 6e 67 0d 73 74 6f 70 56 | 69 64 65 6f 0d 65 78 69 |ng.stopV|ideo.exi|
|00002150| 74 20 77 61 69 74 46 6f | 72 4d 6f 75 73 65 43 6c |t waitFo|rMouseCl|
|00002160| 69 63 6b 0d 65 6e 64 20 | 69 66 0d 72 65 70 65 61 |ick.end |if.repea|
|00002170| 74 20 75 6e 74 69 6c 20 | 74 68 65 20 6d 6f 75 73 |t until |the mous|
|00002180| 65 20 69 73 20 64 6f 77 | 6e 0d 69 66 20 67 54 69 |e is dow|n.if gTi|
|00002190| 6d 65 52 65 6d 61 69 6e | 69 6e 67 20 b2 20 30 20 |meRemain|ing . 0 |
|000021a0| 74 68 65 6e 0d 64 65 6c | 65 74 65 56 69 64 65 6f |then.del|eteVideo|
|000021b0| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 70 75 74 20 65 |Controll|er.put e|
|000021c0| 6d 70 74 79 20 69 6e 74 | 6f 20 67 54 69 6d 65 52 |mpty int|o gTimeR|
|000021d0| 65 6d 61 69 6e 69 6e 67 | 0d 65 78 69 74 20 74 6f |emaining|.exit to|
|000021e0| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6e 64 20 69 | HyperCa|rd.end i|
|000021f0| 66 0d 75 70 64 61 74 65 | 56 69 64 65 6f 54 69 6d |f.update|VideoTim|
|00002200| 65 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 63 68 65 |e.end re|peat.che|
|00002210| 63 6b 56 69 64 65 6f 43 | 6f 6e 74 72 6f 6c 6c 65 |ckVideoC|ontrolle|
|00002220| 72 0d 65 6e 64 20 77 61 | 69 74 46 6f 72 4d 6f 75 |r.end wa|itForMou|
|00002230| 73 65 43 6c 69 63 6b 0d | 0d 6f 6e 20 75 70 64 61 |seClick.|.on upda|
|00002240| 74 65 56 69 64 65 6f 54 | 69 6d 65 0d 67 6c 6f 62 |teVideoT|ime.glob|
|00002250| 61 6c 20 47 76 69 64 65 | 6f 4c 61 73 74 46 72 61 |al Gvide|oLastFra|
|00002260| 6d 65 2c 20 67 54 69 6d | 65 52 65 6d 61 69 6e 69 |me, gTim|eRemaini|
|00002270| 6e 67 0d 70 75 74 20 28 | 47 76 69 64 65 6f 4c 61 |ng.put (|GvideoLa|
|00002280| 73 74 46 72 61 6d 65 20 | 2d 20 76 69 64 65 6f 46 |stFrame |- videoF|
|00002290| 72 61 6d 65 28 29 20 2b | 20 32 39 29 20 64 69 76 |rame() +| 29) div|
|000022a0| 20 33 30 20 69 6e 74 6f | 20 67 54 69 6d 65 52 65 | 30 into| gTimeRe|
|000022b0| 6d 61 69 6e 69 6e 67 0d | 69 66 20 67 54 69 6d 65 |maining.|if gTime|
|000022c0| 52 65 6d 61 69 6e 69 6e | 67 20 b3 20 30 20 61 6e |Remainin|g . 0 an|
|000022d0| 64 20 67 54 69 6d 65 52 | 65 6d 61 69 6e 69 6e 67 |d gTimeR|emaining|
|000022e0| 20 b2 20 36 30 30 20 74 | 68 65 6e 0d 70 75 74 20 | . 600 t|hen.put |
|000022f0| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 20 64 |gTimeRem|aining d|
|00002300| 69 76 20 36 30 20 26 20 | 22 3a 22 20 26 20 28 28 |iv 60 & |":" & ((|
|00002310| 67 54 69 6d 65 52 65 6d | 61 69 6e 69 6e 67 20 6d |gTimeRem|aining m|
|00002320| 6f 64 20 36 30 29 20 64 | 69 76 20 31 30 29 20 c2 |od 60) d|iv 10) .|
|00002330| 0d 26 20 28 67 54 69 6d | 65 52 65 6d 61 69 6e 69 |.& (gTim|eRemaini|
|00002340| 6e 67 20 6d 6f 64 20 31 | 30 29 20 69 6e 74 6f 20 |ng mod 1|0) into |
|00002350| 6c 61 73 74 20 6c 69 6e | 65 20 6f 66 20 63 64 20 |last lin|e of cd |
|00002360| 66 6c 64 20 22 76 69 64 | 65 6f 20 63 6f 6e 74 72 |fld "vid|eo contr|
|00002370| 6f 6c 6c 65 72 22 0d 65 | 6e 64 20 69 66 0d 65 6e |oller".e|nd if.en|
|00002380| 64 20 75 70 64 61 74 65 | 56 69 64 65 6f 54 69 6d |d update|VideoTim|
|00002390| 65 0d 0d 6f 6e 20 63 68 | 65 63 6b 56 69 64 65 6f |e..on ch|eckVideo|
|000023a0| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 69 66 20 74 68 |Controll|er.if th|
|000023b0| 65 20 6d 6f 75 73 65 4c | 6f 63 20 69 73 20 77 69 |e mouseL|oc is wi|
|000023c0| 74 68 69 6e 20 74 68 65 | 20 72 65 63 74 20 6f 66 |thin the| rect of|
|000023d0| 20 63 64 20 66 6c 64 20 | 22 76 69 64 65 6f 20 63 | cd fld |"video c|
|000023e0| 6f 6e 74 72 6f 6c 6c 65 | 72 22 20 74 68 65 6e 0d |ontrolle|r" then.|
|000023f0| 2d 2d 20 64 6f 20 74 68 | 69 73 20 77 69 74 68 6f |-- do th|is witho|
|00002400| 75 74 20 72 65 63 75 72 | 73 69 6f 6e 2c 20 73 6f |ut recur|sion, so|
|00002410| 6d 65 68 6f 77 0d 73 65 | 6e 64 20 76 69 64 65 6f |mehow.se|nd video|
|00002420| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 74 6f 20 63 64 |Controll|er to cd|
|00002430| 20 66 6c 64 20 22 76 69 | 64 65 6f 20 63 6f 6e 74 | fld "vi|deo cont|
|00002440| 72 6f 6c 6c 65 72 22 0d | 2d 2d 65 78 69 74 20 74 |roller".|--exit t|
|00002450| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6c 73 65 |o HyperC|ard.else|
|00002460| 0d 67 65 74 20 74 68 65 | 20 6d 6f 75 73 65 4c 6f |.get the| mouseLo|
|00002470| 63 0d 63 6c 69 63 6b 20 | 61 74 20 69 74 0d 65 78 |c.click |at it.ex|
|00002480| 69 74 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |it to Hy|perCard.|
|00002490| 65 6e 64 20 69 66 0d 65 | 6e 64 20 63 68 65 63 6b |end if.e|nd check|
|000024a0| 56 69 64 65 6f 43 6f 6e | 74 72 6f 6c 6c 65 72 0d |VideoCon|troller.|
|000024b0| 0d 6f 6e 20 64 65 6c 65 | 74 65 56 69 64 65 6f 43 |.on dele|teVideoC|
|000024c0| 6f 6e 74 72 6f 6c 6c 65 | 72 0d 67 6c 6f 62 61 6c |ontrolle|r.global|
|000024d0| 20 67 44 69 73 63 53 69 | 64 65 0d 69 66 20 67 44 | gDiscSi|de.if gD|
|000024e0| 69 73 63 53 69 64 65 20 | 3c 3e 20 22 6e 6f 6e 65 |iscSide |<> "none|
|000024f0| 22 20 74 68 65 6e 20 73 | 74 6f 70 56 69 64 65 6f |" then s|topVideo|
|00002500| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00002510| 66 20 63 64 20 66 6c 64 | 73 20 3e 20 30 20 74 68 |f cd fld|s > 0 th|
|00002520| 65 6e 0d 69 66 20 66 69 | 6e 64 46 69 65 6c 64 28 |en.if fi|ndField(|
|00002530| 22 56 69 64 65 6f 20 43 | 6f 6e 74 72 6f 6c 6c 65 |"Video C|ontrolle|
|00002540| 72 22 29 20 69 73 20 6e | 6f 74 20 66 61 6c 73 65 |r") is n|ot false|
|00002550| 20 74 68 65 6e 0d 73 65 | 74 20 63 75 72 73 6f 72 | then.se|t cursor|
|00002560| 20 74 6f 20 77 61 74 63 | 68 0d 6c 6f 63 6b 20 73 | to watc|h.lock s|
|00002570| 63 72 65 65 6e 0d 4f 6b | 44 6f 4d 65 6e 75 0d 73 |creen.Ok|DoMenu.s|
|00002580| 68 6f 77 20 63 64 20 66 | 6c 64 20 22 56 69 64 65 |how cd f|ld "Vide|
|00002590| 6f 20 43 6f 6e 74 72 6f | 6c 6c 65 72 22 0d 73 65 |o Contro|ller".se|
|000025a0| 6c 65 63 74 20 63 64 20 | 66 6c 64 20 22 56 69 64 |lect cd |fld "Vid|
|000025b0| 65 6f 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 22 0d 64 |eo Contr|oller".d|
|000025c0| 6f 4d 65 6e 75 20 22 43 | 6c 65 61 72 20 46 69 65 |oMenu "C|lear Fie|
|000025d0| 6c 64 22 0d 63 68 6f 6f | 73 65 20 62 72 6f 77 73 |ld".choo|se brows|
|000025e0| 65 20 74 6f 6f 6c 0d 75 | 6e 6c 6f 63 6b 20 73 63 |e tool.u|nlock sc|
|000025f0| 72 65 65 6e 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |reen.end| if.end |
|00002600| 69 66 0d 65 6e 64 20 64 | 65 6c 65 74 65 56 69 64 |if.end d|eleteVid|
|00002610| 65 6f 43 6f 6e 74 72 6f | 6c 6c 65 72 0d 0d 6f 6e |eoContro|ller..on|
|00002620| 20 76 69 64 65 6f 43 6c | 6f 73 65 43 61 72 64 0d | videoCl|oseCard.|
|00002630| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00002640| 20 63 64 20 66 6c 64 73 | 20 3e 20 30 20 74 68 65 | cd flds| > 0 the|
|00002650| 6e 0d 69 66 20 66 69 6e | 64 46 69 65 6c 64 28 22 |n.if fin|dField("|
|00002660| 56 69 64 65 6f 20 43 6f | 6e 74 72 6f 6c 6c 65 72 |Video Co|ntroller|
|00002670| 22 29 20 69 73 20 6e 6f | 74 20 66 61 6c 73 65 20 |") is no|t false |
|00002680| 74 68 65 6e 0d 64 65 6c | 65 74 65 56 69 64 65 6f |then.del|eteVideo|
|00002690| 43 6f 6e 74 72 6f 6c 6c | 65 72 0d 65 6e 64 20 69 |Controll|er.end i|
|000026a0| 66 0d 65 6e 64 20 69 66 | 0d 73 65 6e 64 20 22 74 |f.end if|.send "t|
|000026b0| 75 72 6e 56 69 64 65 6f | 4f 66 66 22 20 74 6f 20 |urnVideo|Off" to |
|000026c0| 63 64 20 22 56 69 64 65 | 6f 4c 69 73 74 22 0d 65 |cd "Vide|oList".e|
|000026d0| 6e 64 20 76 69 64 65 6f | 43 6c 6f 73 65 43 61 72 |nd video|CloseCar|
|000026e0| 64 0d 0d 6f 6e 20 73 65 | 74 4e 6f 56 69 64 65 6f |d..on se|tNoVideo|
|000026f0| 0d 67 6c 6f 62 61 6c 20 | 67 44 69 73 63 53 69 64 |.global |gDiscSid|
|00002700| 65 0d 70 75 74 20 22 6e | 6f 6e 65 22 20 69 6e 74 |e.put "n|one" int|
|00002710| 6f 20 67 44 69 73 63 53 | 69 64 65 0d 65 6e 64 20 |o gDiscS|ide.end |
|00002720| 73 65 74 4e 6f 76 69 64 | 65 6f 0d 0d 2d 2d 2d 2d |setNovid|eo..----|
|00002730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002760| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002770| 2d 2d 2d 2d 0d 2d 2d 20 | 45 6e 64 20 6f 66 20 56 |----.-- |End of V|
|00002780| 69 64 65 6f 20 53 63 72 | 69 70 74 20 76 65 72 73 |ideo Scr|ipt vers|
|00002790| 69 6f 6e 20 38 0d 0d 6f | 6e 20 67 6f 55 70 0d 67 |ion 8..o|n goUp.g|
|000027a0| 6f 55 70 54 6f 20 22 6d | 61 69 6e 20 6d 65 6e 75 |oUpTo "m|ain menu|
|000027b0| 22 0d 65 6e 64 20 67 6f | 55 70 0d 0d 2d 2d 2d 20 |".end go|Up..--- |
|000027c0| 73 74 61 72 74 20 6f 66 | 20 76 69 64 65 6f 20 62 |start of| video b|
|000027d0| 75 74 74 6f 6e 20 73 63 | 72 69 70 74 73 0d 6f 6e |utton sc|ripts.on|
|000027e0| 20 76 69 64 65 6f 42 75 | 74 74 6f 6e 0d 69 66 20 | videoBu|tton.if |
|000027f0| 74 68 65 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 69 |the lock|screen i|
|00002800| 73 20 74 72 75 65 20 74 | 68 65 6e 20 65 78 69 74 |s true t|hen exit|
|00002810| 20 76 69 64 65 6f 62 75 | 74 74 6f 6e 0d 66 6c 61 | videobu|tton.fla|
|00002820| 73 68 42 74 6e 20 76 69 | 64 65 6f 62 67 2c 20 32 |shBtn vi|deobg, 2|
|00002830| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 78 20 3d |.repeat |with x =|
|00002840| 20 31 20 74 6f 20 33 0d | 72 65 70 65 61 74 20 77 | 1 to 3.|repeat w|
|00002850| 69 74 68 20 63 74 72 20 | 3d 20 31 20 74 6f 20 33 |ith ctr |= 1 to 3|
|00002860| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |.if the |mouseCli|
|00002870| 63 6b 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |ck then.|set the |
|00002880| 69 63 6f 6e 20 6f 66 20 | 62 74 6e 20 22 76 69 64 |icon of |btn "vid|
|00002890| 65 6f 22 20 74 6f 20 22 | 67 75 79 20 31 22 0d 63 |eo" to "|guy 1".c|
|000028a0| 6c 69 63 6b 20 61 74 20 | 74 68 65 20 63 6c 69 63 |lick at |the clic|
|000028b0| 6b 6c 6f 63 0d 65 78 69 | 74 20 76 69 64 65 6f 42 |kloc.exi|t videoB|
|000028c0| 75 74 74 6f 6e 0d 65 6e | 64 20 69 66 0d 73 65 74 |utton.en|d if.set|
|000028d0| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 74 6e | the ico|n of btn|
|000028e0| 20 22 76 69 64 65 6f 22 | 20 74 6f 20 22 67 75 79 | "video"| to "guy|
|000028f0| 22 20 26 26 20 63 74 72 | 0d 77 61 69 74 20 31 30 |" && ctr|.wait 10|
|00002900| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00002910| 72 65 70 65 61 74 0d 73 | 65 74 20 74 68 65 20 69 |repeat.s|et the i|
|00002920| 63 6f 6e 20 6f 66 20 62 | 74 6e 20 22 76 69 64 65 |con of b|tn "vide|
|00002930| 6f 22 20 74 6f 20 22 67 | 75 79 20 31 22 0d 65 6e |o" to "g|uy 1".en|
|00002940| 64 20 76 69 64 65 6f 42 | 75 74 74 6f 6e 0d 0d 2d |d videoB|utton..-|
|00002950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002960| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 20 53 54 |--------|---- ST|
|00002970| 55 44 45 4e 54 20 4f 50 | 54 49 4f 4e 53 20 66 6f |UDENT OP|TIONS fo|
|00002980| 6c 6c 6f 77 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |llow ---|-------.|
|00002990| 7c 2d 2d 20 74 68 65 20 | 6f 70 74 69 6f 6e 73 20 ||-- the |options |
|000029a0| 62 75 74 74 6f 6e 20 63 | 61 6c 6c 73 20 75 70 20 |button c|alls up |
|000029b0| 61 20 70 61 6e 65 6c 20 | 6f 66 20 73 65 72 76 69 |a panel |of servi|
|000029c0| 63 65 73 0d 6f 6e 20 6e | 65 77 4f 70 74 69 6f 6e |ces.on n|ewOption|
|000029d0| 73 0d 4f 70 74 69 6f 6e | 73 0d 65 6e 64 20 6e 65 |s.Option|s.end ne|
|000029e0| 77 4f 70 74 69 6f 6e 73 | 0d 6f 6e 20 4f 70 74 69 |wOptions|.on Opti|
|000029f0| 6f 6e 73 0d 67 65 74 20 | 53 53 50 61 6e 65 6c 28 |ons.get |SSPanel(|
|00002a00| 29 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 22 |).if it |is not "|
|00002a10| 63 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 64 6f 20 |cancel" |then do |
|00002a20| 69 74 0d 65 6e 64 20 4f | 70 74 69 6f 6e 73 0d 0d |it.end O|ptions..|
|00002a30| 66 75 6e 63 74 69 6f 6e | 20 53 53 70 61 6e 65 6c |function| SSpanel|
|00002a40| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00002a50| 61 74 63 68 0d 73 65 74 | 57 69 6e 64 6f 77 20 31 |atch.set|Window 1|
|00002a60| 0d 4e 65 77 57 69 6e 64 | 6f 77 20 32 31 37 2c 32 |.NewWind|ow 217,2|
|00002a70| 34 38 2c 63 65 6e 74 65 | 72 65 64 2c 30 2c 32 2c |48,cente|red,0,2,|
|00002a80| 22 53 53 20 44 69 61 6c | 6f 67 22 2c 76 69 73 69 |"SS Dial|og",visi|
|00002a90| 62 6c 65 0d 4e 65 77 49 | 74 65 6d 20 70 69 63 74 |ble.NewI|tem pict|
|00002aa0| 75 72 65 2c 30 2c 30 2c | 32 31 37 2c 32 34 38 2c |ure,0,0,|217,248,|
|00002ab0| 33 32 35 20 2d 2d 20 69 | 74 65 6d 20 31 0d 4e 65 |325 -- i|tem 1.Ne|
|00002ac0| 77 49 74 65 6d 20 52 65 | 63 74 42 75 74 74 6f 6e |wItem Re|ctButton|
|00002ad0| 2c 32 30 2c 38 33 2c 37 | 32 2c 31 33 33 2c 41 63 |,20,83,7|2,133,Ac|
|00002ae0| 74 69 76 65 2c c2 0d 2d | 31 2c 22 69 6e 76 65 72 |tive,..-|1,"inver|
|00002af0| 74 22 2c 22 42 6f 6f 6b | 6d 61 72 6b 22 2c 6e 6f |t","Book|mark",no|
|00002b00| 43 6f 6c 6f 72 2c 22 22 | 2c 22 22 20 2d 2d 20 42 |Color,""|,"" -- B|
|00002b10| 6f 6f 6b 6d 61 72 6b 2c | 20 69 74 65 6d 20 32 0d |ookmark,| item 2.|
|00002b20| 4e 65 77 49 74 65 6d 20 | 52 65 63 74 42 75 74 74 |NewItem |RectButt|
|00002b30| 6f 6e 2c 38 32 2c 38 33 | 2c 31 33 34 2c 31 33 33 |on,82,83|,134,133|
|00002b40| 2c 41 63 74 69 76 65 2c | c2 0d 2d 31 2c 22 69 6e |,Active,|..-1,"in|
|00002b50| 76 65 72 74 22 2c 22 4e | 6f 74 65 62 6f 6f 6b 22 |vert","N|otebook"|
|00002b60| 2c 6e 6f 43 6f 6c 6f 72 | 2c 22 22 2c 22 22 20 2d |,noColor|,"","" -|
|00002b70| 2d 20 4e 6f 74 65 2c 20 | 69 74 65 6d 20 33 0d 4e |- Note, |item 3.N|
|00002b80| 65 77 49 74 65 6d 20 52 | 65 63 74 42 75 74 74 6f |ewItem R|ectButto|
|00002b90| 6e 2c 31 34 34 2c 38 33 | 2c 31 39 36 2c 31 33 33 |n,144,83|,196,133|
|00002ba0| 2c 41 63 74 69 76 65 2c | c2 0d 2d 31 2c 22 69 6e |,Active,|..-1,"in|
|00002bb0| 76 65 72 74 22 2c 22 53 | 6e 61 70 73 68 6f 74 22 |vert","S|napshot"|
|00002bc0| 2c 6e 6f 43 6f 6c 6f 72 | 2c 22 22 2c 22 22 20 2d |,noColor|,"","" -|
|00002bd0| 2d 20 53 6e 61 70 53 68 | 6f 74 2c 20 20 49 74 65 |- SnapSh|ot, Ite|
|00002be0| 6d 20 34 0d 4e 65 77 49 | 74 65 6d 20 52 65 63 74 |m 4.NewI|tem Rect|
|00002bf0| 42 75 74 74 6f 6e 2c 32 | 30 2c 31 34 33 2c 37 32 |Button,2|0,143,72|
|00002c00| 2c 31 39 33 2c 41 63 74 | 69 76 65 2c c2 0d 2d 31 |,193,Act|ive,..-1|
|00002c10| 2c 22 69 6e 76 65 72 74 | 22 2c 22 47 6c 6f 73 73 |,"invert|","Gloss|
|00002c20| 61 72 79 22 2c 6e 6f 43 | 6f 6c 6f 72 2c 22 22 2c |ary",noC|olor,"",|
|00002c30| 22 22 20 2d 2d 20 47 6c | 6f 73 73 61 72 79 2c 20 |"" -- Gl|ossary, |
|00002c40| 49 74 65 6d 20 35 0d 4e | 65 77 49 74 65 6d 20 52 |Item 5.N|ewItem R|
|00002c50| 65 63 74 42 75 74 74 6f | 6e 2c 38 32 2c 31 34 33 |ectButto|n,82,143|
|00002c60| 2c 31 33 34 2c 31 39 33 | 2c 41 63 74 69 76 65 2c |,134,193|,Active,|
|00002c70| c2 0d 2d 31 2c 22 69 6e | 76 65 72 74 22 2c 22 4d |..-1,"in|vert","M|
|00002c80| 61 70 22 2c 6e 6f 43 6f | 6c 6f 72 2c 22 22 2c 22 |ap",noCo|lor,"","|
|00002c90| 22 20 2d 2d 20 4d 61 70 | 2c 20 49 74 65 6d 20 36 |" -- Map|, Item 6|
|00002ca0| 0d 4e 65 77 49 74 65 6d | 20 52 65 63 74 42 75 74 |.NewItem| RectBut|
|00002cb0| 74 6f 6e 2c 31 34 34 2c | 31 34 33 2c 31 39 36 2c |ton,144,|143,196,|
|00002cc0| 31 39 33 2c 41 63 74 69 | 76 65 2c c2 0d 2d 31 2c |193,Acti|ve,..-1,|
|00002cd0| 22 69 6e 76 65 72 74 22 | 2c 22 48 65 6c 70 22 2c |"invert"|,"Help",|
|00002ce0| 6e 6f 43 6f 6c 6f 72 2c | 22 22 2c 22 22 20 2d 2d |noColor,|"","" --|
|00002cf0| 20 48 65 6c 70 2c 20 49 | 74 65 6d 20 37 0d 4e 65 | Help, I|tem 7.Ne|
|00002d00| 77 49 74 65 6d 20 52 65 | 63 74 42 75 74 74 6f 6e |wItem Re|ctButton|
|00002d10| 2c 31 39 2c 32 30 34 2c | 31 31 30 2c 32 33 30 2c |,19,204,|110,230,|
|00002d20| 41 63 74 69 76 65 2c c2 | 0d 2d 31 2c 22 69 6e 76 |Active,.|.-1,"inv|
|00002d30| 65 72 74 22 2c 22 71 75 | 69 74 4d 46 22 2c 6e 6f |ert","qu|itMF",no|
|00002d40| 43 6f 6c 6f 72 2c 22 22 | 2c 22 22 20 2d 2d 20 51 |Color,""|,"" -- Q|
|00002d50| 75 69 74 2c 20 69 74 65 | 6d 20 38 0d 4e 65 77 49 |uit, ite|m 8.NewI|
|00002d60| 74 65 6d 20 52 65 63 74 | 42 75 74 74 6f 6e 2c 31 |tem Rect|Button,1|
|00002d70| 32 34 2c 32 30 34 2c 31 | 39 37 2c 32 33 30 2c 41 |24,204,1|97,230,A|
|00002d80| 63 74 69 76 65 2c c2 0d | 2d 31 2c 22 69 6e 76 65 |ctive,..|-1,"inve|
|00002d90| 72 74 22 2c 22 63 61 6e | 63 65 6c 22 2c 6e 6f 63 |rt","can|cel",noc|
|00002da0| 6f 6c 6f 72 2c 22 22 2c | 22 22 20 20 2d 2d 20 43 |olor,"",|"" -- C|
|00002db0| 61 6e 63 65 6c 2c 20 69 | 74 65 6d 20 39 0d 73 65 |ancel, i|tem 9.se|
|00002dc0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 61 72 72 6f |t cursor| to arro|
|00002dd0| 77 0d 67 65 74 20 20 44 | 69 73 70 6c 61 79 20 28 |w.get D|isplay (|
|00002de0| 31 35 2c 31 20 29 0d 69 | 66 20 69 74 20 3d 20 22 |15,1 ).i|f it = "|
|00002df0| 74 69 6d 65 6f 75 74 22 | 20 74 68 65 6e 0d 6b 69 |timeout"| then.ki|
|00002e00| 6c 6c 57 69 6e 64 6f 77 | 0d 72 65 74 75 72 6e 20 |llWindow|.return |
|00002e10| 22 22 20 2d 2d 20 64 6f | 20 6e 6f 74 68 69 6e 67 |"" -- do| nothing|
|00002e20| 0d 65 6e 64 20 69 66 0d | 6b 69 6c 6c 57 69 6e 64 |.end if.|killWind|
|00002e30| 6f 77 20 2d 2d 20 63 6c | 65 61 6e 20 75 70 0d 72 |ow -- cl|ean up.r|
|00002e40| 65 74 75 72 6e 20 69 74 | 65 6d 20 34 20 6f 66 20 |eturn it|em 4 of |
|00002e50| 69 74 0d 65 6e 64 20 53 | 53 70 61 6e 65 6c 0d 0d |it.end S|Spanel..|
|00002e60| 2d 2d 20 74 68 69 73 20 | 68 61 6e 64 6c 65 72 20 |-- this |handler |
|00002e70| 69 73 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 61 |is calle|d from a|
|00002e80| 6c 6c 20 73 74 61 63 6b | 73 0d 6f 6e 20 42 6f 6f |ll stack|s.on Boo|
|00002e90| 6b 4d 61 72 6b 0d 2d 2d | 20 73 74 75 66 66 20 66 |kMark.--| stuff f|
|00002ea0| 72 6f 6d 20 4d 46 42 20 | 4d 61 72 6b 50 6c 61 63 |rom MFB |MarkPlac|
|00002eb0| 65 0d 67 6c 6f 62 61 6c | 20 67 4c 61 73 74 50 6c |e.global| gLastPl|
|00002ec0| 61 63 65 2c 67 50 6c 61 | 63 65 4e 61 6d 65 73 2c |ace,gPla|ceNames,|
|00002ed0| 20 67 50 6c 61 63 65 73 | 2c 67 43 75 72 4e 6f 64 | gPlaces|,gCurNod|
|00002ee0| 65 0d 73 65 74 57 69 6e | 64 6f 77 20 31 0d 4e 65 |e.setWin|dow 1.Ne|
|00002ef0| 77 57 69 6e 64 6f 77 20 | 32 39 30 2c 32 32 32 2c |wWindow |290,222,|
|00002f00| 63 65 6e 74 65 72 65 64 | 2c 30 2c 31 2c 22 42 6f |centered|,0,1,"Bo|
|00002f10| 6f 6b 6d 61 72 6b 20 44 | 69 61 6c 6f 67 22 2c 76 |okmark D|ialog",v|
|00002f20| 69 73 69 62 6c 65 0d 70 | 75 74 20 22 53 74 75 64 |isible.p|ut "Stud|
|00002f30| 65 6e 74 20 53 65 72 76 | 69 63 65 73 22 20 26 20 |ent Serv|ices" & |
|00002f40| 72 65 74 75 72 6e 20 26 | 20 22 42 6f 6f 6b 6d 61 |return &| "Bookma|
|00002f50| 72 6b 22 20 69 6e 74 6f | 20 74 68 65 54 65 78 74 |rk" into| theText|
|00002f60| 0d 4e 65 77 49 74 65 6d | 20 53 74 61 74 69 63 54 |.NewItem| StaticT|
|00002f70| 65 78 74 2c 35 39 2c 36 | 2c 31 39 32 2c 34 38 2c |ext,59,6|,192,48,|
|00002f80| 74 68 65 54 65 78 74 2c | 22 42 20 67 61 72 61 6d |theText,|"B garam|
|00002f90| 6f 6e 64 20 62 6f 6c 64 | 22 2c 32 30 2c 70 6c 61 |ond bold|",20,pla|
|00002fa0| 69 6e 0d 2d 2d 20 69 74 | 65 6d 20 31 0d 4e 65 77 |in.-- it|em 1.New|
|00002fb0| 49 74 65 6d 20 52 65 63 | 74 42 75 74 74 6f 6e 2c |Item Rec|tButton,|
|00002fc0| 31 37 2c 38 2c 36 31 2c | 34 35 2c c2 0d 22 4e 6f |17,8,61,|45,.."No|
|00002fd0| 74 41 63 74 69 76 65 22 | 2c 31 37 34 32 2c 22 64 |tActive"|,1742,"d|
|00002fe0| 6f 6e 74 69 6e 76 65 72 | 74 22 2c 65 6d 70 74 79 |ontinver|t",empty|
|00002ff0| 2c 6e 6f 43 6f 6c 6f 72 | 2c 22 22 2c 22 22 0d 2d |,noColor|,"","".-|
|00003000| 2d 20 20 62 6f 6f 6b 6d | 61 72 6b 20 67 72 61 70 |- bookm|ark grap|
|00003010| 68 69 63 20 69 74 65 6d | 20 32 0d 4e 65 77 49 74 |hic item| 2.NewIt|
|00003020| 65 6d 20 52 65 63 74 61 | 6e 67 6c 65 2c 30 2c 35 |em Recta|ngle,0,5|
|00003030| 33 2c 32 39 30 2c 35 34 | 2c 31 20 2d 2d 20 69 74 |3,290,54|,1 -- it|
|00003040| 65 6d 20 33 2c 20 64 65 | 63 6f 72 61 74 69 76 65 |em 3, de|corative|
|00003050| 20 72 75 6c 65 0d 4e 65 | 77 49 74 65 6d 20 53 74 | rule.Ne|wItem St|
|00003060| 61 74 69 63 54 65 78 74 | 2c 32 34 2c 36 30 2c 31 |aticText|,24,60,1|
|00003070| 35 37 2c 37 39 2c c2 0d | 22 42 6f 6f 6b 6d 61 72 |57,79,..|"Bookmar|
|00003080| 6b 20 69 6e 3a 22 2c 47 | 61 72 61 6d 6f 6e 64 2c |k in:",G|aramond,|
|00003090| 31 36 2c 70 6c 61 69 6e | 20 2d 2d 20 69 74 65 6d |16,plain| -- item|
|000030a0| 20 34 0d 4e 65 77 49 74 | 65 6d 20 53 74 61 74 69 | 4.NewIt|em Stati|
|000030b0| 63 54 65 78 74 2c 32 34 | 2b 33 2c 37 39 2c 32 36 |cText,24|+3,79,26|
|000030c0| 30 2c 39 35 2c c2 0d 6d | 61 6b 65 53 74 61 6d 70 |0,95,..m|akeStamp|
|000030d0| 28 29 2c 22 43 68 69 63 | 61 67 6f 22 2c 31 32 2c |(),"Chic|ago",12,|
|000030e0| 70 6c 61 69 6e 20 2d 2d | 20 69 74 65 6d 20 35 0d |plain --| item 5.|
|000030f0| 4e 65 77 49 74 65 6d 20 | 52 65 63 74 61 6e 67 6c |NewItem |Rectangl|
|00003100| 65 2c 32 34 2c 37 38 2c | 32 36 38 2c 39 37 2c 31 |e,24,78,|268,97,1|
|00003110| 20 2d 2d 49 74 65 6d 20 | 36 0d 4e 65 77 49 74 65 | --Item |6.NewIte|
|00003120| 6d 20 53 74 61 74 69 63 | 54 65 78 74 2c 32 34 2c |m Static|Text,24,|
|00003130| 31 30 33 2c 32 36 38 2c | 31 32 33 2c c2 0d 22 42 |103,268,|123,.."B|
|00003140| 6f 6f 6b 6d 61 72 6b 20 | 6e 61 6d 65 20 28 6f 70 |ookmark |name (op|
|00003150| 74 69 6f 6e 61 6c 29 3a | 22 2c 47 61 72 61 6d 6f |tional):|",Garamo|
|00003160| 6e 64 2c 31 36 2c 70 6c | 61 69 6e 20 2d 2d 20 69 |nd,16,pl|ain -- i|
|00003170| 74 65 6d 20 37 0d 4e 65 | 77 49 74 65 6d 20 45 64 |tem 7.Ne|wItem Ed|
|00003180| 69 74 54 65 78 74 2c 32 | 34 2c 31 32 30 2c 32 36 |itText,2|4,120,26|
|00003190| 38 2c 31 34 31 2c c2 0d | 65 6d 70 74 79 2c 22 43 |8,141,..|empty,"C|
|000031a0| 68 69 63 61 67 6f 22 2c | 31 32 2c 70 6c 61 69 6e |hicago",|12,plain|
|000031b0| 2c 6e 6f 53 63 72 6f 6c | 6c 2c 68 61 73 43 75 72 |,noScrol|l,hasCur|
|000031c0| 73 6f 72 20 2d 2d 20 69 | 74 65 6d 20 38 0d 4e 65 |sor -- i|tem 8.Ne|
|000031d0| 77 49 74 65 6d 20 52 6f | 75 6e 64 42 75 74 74 6f |wItem Ro|undButto|
|000031e0| 6e 2c 32 34 2c 31 36 31 | 2c 31 34 30 2c 31 38 37 |n,24,161|,140,187|
|000031f0| 2c c2 0d 22 43 72 65 61 | 74 65 20 6d 61 72 6b 22 |,.."Crea|te mark"|
|00003200| 2c 31 33 2c 6e 6f 43 6f | 6d 6d 61 6e 64 2c 22 22 |,13,noCo|mmand,""|
|00003210| 20 2d 2d 20 69 74 65 6d | 20 38 0d 4e 65 77 49 74 | -- item| 8.NewIt|
|00003220| 65 6d 20 52 6f 75 6e 64 | 42 75 74 74 6f 6e 2c 31 |em Round|Button,1|
|00003230| 35 32 2c 31 36 34 2c 32 | 36 38 2c 31 38 34 20 2c |52,164,2|68,184 ,|
|00003240| c2 0d 22 43 61 6e 63 65 | 6c 22 2c 63 68 61 72 54 |.."Cance|l",charT|
|00003250| 6f 4e 75 6d 28 22 2e 22 | 29 2c 43 6f 6d 6d 61 6e |oNum("."|),Comman|
|00003260| 64 2c 22 22 20 2d 2d 20 | 69 74 65 6d 20 31 30 0d |d,"" -- |item 10.|
|00003270| 4e 65 77 49 74 65 6d 20 | 52 6f 75 6e 64 42 75 74 |NewItem |RoundBut|
|00003280| 74 6f 6e 2c 32 34 2c 31 | 39 36 2c 31 34 30 2c 32 |ton,24,1|96,140,2|
|00003290| 31 36 2c c2 0d 22 47 6f | 20 74 6f 20 6c 61 73 74 |16,.."Go| to last|
|000032a0| 20 6d 61 72 6b 22 2c 31 | 34 2c 6e 6f 43 6f 6d 6d | mark",1|4,noComm|
|000032b0| 61 6e 64 2c 22 22 20 2d | 2d 20 69 74 65 6d 20 31 |and,"" -|- item 1|
|000032c0| 31 0d 4e 65 77 49 74 65 | 6d 20 52 6f 75 6e 64 42 |1.NewIte|m RoundB|
|000032d0| 75 74 74 6f 6e 2c 31 35 | 32 2c 31 39 36 2c 32 36 |utton,15|2,196,26|
|000032e0| 38 2c 32 31 36 2c c2 0d | 22 53 65 6c 65 63 74 20 |8,216,..|"Select |
|000032f0| 61 20 6d 61 72 6b 22 2c | 31 35 2c 6e 6f 43 6f 6d |a mark",|15,noCom|
|00003300| 6d 61 6e 64 2c 22 22 20 | 2d 2d 20 69 74 65 6d 20 |mand,"" |-- item |
|00003310| 31 32 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |12.set c|ursor to|
|00003320| 20 61 72 72 6f 77 0d 67 | 65 74 20 20 44 69 73 70 | arrow.g|et Disp|
|00003330| 6c 61 79 20 28 31 38 30 | 2c 31 29 0d 2d 2d 20 4b |lay (180|,1).-- K|
|00003340| 69 6c 6c 20 74 68 65 20 | 77 69 6e 64 6f 77 20 61 |ill the |window a|
|00003350| 66 74 65 72 20 61 20 74 | 69 6d 65 6f 75 74 0d 69 |fter a t|imeout.i|
|00003360| 66 20 69 74 20 3d 20 22 | 74 69 6d 65 6f 75 74 22 |f it = "|timeout"|
|00003370| 20 74 68 65 6e 0d 2d 2d | 20 64 65 6c 65 74 65 20 | then.--| delete |
|00003380| 6c 61 73 74 20 69 74 65 | 6d 20 6f 66 20 77 68 65 |last ite|m of whe|
|00003390| 72 65 57 65 43 61 6d 65 | 46 72 6f 6d 0d 6b 69 6c |reWeCame|From.kil|
|000033a0| 6c 57 69 6e 64 6f 77 0d | 72 65 74 75 72 6e 20 22 |lWindow.|return "|
|000033b0| 63 61 6e 63 65 6c 22 0d | 65 6e 64 20 69 66 0d 0d |cancel".|end if..|
|000033c0| 2d 2d 20 69 66 20 69 74 | 20 64 69 64 6e 27 74 20 |-- if it| didn't |
|000033d0| 74 69 6d 65 20 6f 75 74 | 2c 20 73 65 65 20 77 68 |time out|, see wh|
|000033e0| 61 74 20 74 68 65 20 75 | 73 65 72 20 63 68 6f 73 |at the u|ser chos|
|000033f0| 65 0d 70 75 74 20 69 74 | 65 6d 20 34 20 6f 66 20 |e.put it|em 4 of |
|00003400| 69 74 20 69 6e 74 6f 20 | 75 73 65 72 50 69 63 6b |it into |userPick|
|00003410| 65 64 0d 69 66 20 75 73 | 65 72 50 69 63 6b 65 64 |ed.if us|erPicked|
|00003420| 20 69 73 20 22 43 72 65 | 61 74 65 20 6d 61 72 6b | is "Cre|ate mark|
|00003430| 22 20 74 68 65 6e 20 2d | 2d 20 63 72 65 61 74 65 |" then -|- create|
|00003440| 20 61 20 6e 65 77 20 62 | 6f 6f 6b 6d 61 72 6b 0d | a new b|ookmark.|
|00003450| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 20 47 |put item| 2 of G|
|00003460| 65 74 56 61 6c 75 65 28 | 22 49 74 65 6d 22 2c 35 |etValue(|"Item",5|
|00003470| 29 20 69 6e 74 6f 20 70 | 6c 61 63 65 6e 61 6d 65 |) into p|lacename|
|00003480| 2d 2d 20 74 68 65 20 62 | 6f 6f 6b 6d 61 72 6b 20 |-- the b|ookmark |
|00003490| 73 74 61 6d 70 0d 67 65 | 74 20 69 74 65 6d 20 32 |stamp.ge|t item 2|
|000034a0| 20 6f 66 20 67 65 74 56 | 61 6c 75 65 28 22 49 74 | of getV|alue("It|
|000034b0| 65 6d 22 2c 38 29 20 2d | 2d 20 74 68 65 20 6f 70 |em",8) -|- the op|
|000034c0| 74 69 6f 6e 61 6c 20 74 | 69 74 6c 65 0d 69 66 20 |tional t|itle.if |
|000034d0| 69 74 20 69 73 20 6e 6f | 74 20 22 22 20 74 68 65 |it is no|t "" the|
|000034e0| 6e 20 70 75 74 20 22 20 | a5 20 22 20 26 20 69 74 |n put " |. " & it|
|000034f0| 20 61 66 74 65 72 20 70 | 6c 61 63 65 4e 61 6d 65 | after p|laceName|
|00003500| 0d 69 66 20 70 6c 61 63 | 65 4e 61 6d 65 20 69 73 |.if plac|eName is|
|00003510| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00003520| 70 75 74 20 70 6c 61 63 | 65 4e 61 6d 65 20 26 20 |put plac|eName & |
|00003530| 72 65 74 75 72 6e 20 62 | 65 66 6f 72 65 20 67 50 |return b|efore gP|
|00003540| 6c 61 63 65 4e 61 6d 65 | 73 0d 70 75 74 20 67 65 |laceName|s.put ge|
|00003550| 74 43 61 72 64 4e 61 6d | 65 28 29 20 69 6e 74 6f |tCardNam|e() into|
|00003560| 20 67 4c 61 73 74 50 6c | 61 63 65 0d 70 75 74 20 | gLastPl|ace.put |
|00003570| 67 4c 61 73 74 50 6c 61 | 63 65 20 26 20 22 2c 22 |gLastPla|ce & ","|
|00003580| 20 26 20 67 43 75 72 4e | 6f 64 65 20 26 20 72 65 | & gCurN|ode & re|
|00003590| 74 75 72 6e 20 62 65 66 | 6f 72 65 20 67 50 6c 61 |turn bef|ore gPla|
|000035a0| 63 65 73 0d 65 6e 64 20 | 69 66 0d 6b 69 6c 6c 57 |ces.end |if.killW|
|000035b0| 69 6e 64 6f 77 0d 65 6c | 73 65 20 69 66 20 75 73 |indow.el|se if us|
|000035c0| 65 72 50 69 63 6b 65 64 | 20 69 73 20 22 47 6f 20 |erPicked| is "Go |
|000035d0| 74 6f 20 6c 61 73 74 20 | 6d 61 72 6b 22 20 74 68 |to last |mark" th|
|000035e0| 65 6e 20 2d 2d 20 67 6f | 20 74 6f 20 6c 61 73 74 |en -- go| to last|
|000035f0| 20 6d 61 72 6b 0d 6b 69 | 6c 6c 57 69 6e 64 6f 77 | mark.ki|llWindow|
|00003600| 0d 4c 61 73 74 50 6c 61 | 63 65 0d 65 6c 73 65 20 |.LastPla|ce.else |
|00003610| 69 66 20 75 73 65 72 50 | 69 63 6b 65 64 20 69 73 |if userP|icked is|
|00003620| 20 22 53 65 6c 65 63 74 | 20 61 20 6d 61 72 6b 22 | "Select| a mark"|
|00003630| 20 74 68 65 6e 20 2d 2d | 20 73 65 6c 65 63 74 20 | then --| select |
|00003640| 6d 61 72 6b 20 66 72 6d | 20 62 6f 6f 6b 6d 61 72 |mark frm| bookmar|
|00003650| 6b 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 67 6f 42 |k.killWi|ndow.goB|
|00003660| 6f 6f 6b 4d 61 72 6b 0d | 65 6c 73 65 20 2d 2d 20 |ookMark.|else -- |
|00003670| 6d 75 73 74 20 62 65 20 | 43 61 6e 63 65 6c 0d 6b |must be |Cancel.k|
|00003680| 69 6c 6c 57 69 6e 64 6f | 77 0d 65 6e 64 20 69 66 |illWindo|w.end if|
|00003690| 0d 65 6e 64 20 42 6f 6f | 6b 4d 61 72 6b 0d 0d 6f |.end Boo|kMark..o|
|000036a0| 6e 20 4c 61 73 74 50 6c | 61 63 65 0d 67 6c 6f 62 |n LastPl|ace.glob|
|000036b0| 61 6c 20 67 4c 61 73 74 | 50 6c 61 63 65 2c 20 67 |al gLast|Place, g|
|000036c0| 43 75 72 4e 6f 64 65 0d | 70 75 74 20 67 65 74 43 |CurNode.|put getC|
|000036d0| 61 72 64 4e 61 6d 65 28 | 29 20 26 20 22 2c 22 20 |ardName(|) & "," |
|000036e0| 26 20 67 43 75 72 4e 6f | 64 65 20 69 6e 74 6f 20 |& gCurNo|de into |
|000036f0| 6c 61 73 74 50 6c 61 63 | 65 0d 67 65 74 20 69 74 |lastPlac|e.get it|
|00003700| 65 6d 20 31 20 6f 66 20 | 67 4c 61 73 74 50 6c 61 |em 1 of |gLastPla|
|00003710| 63 65 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |ce.if it| is not |
|00003720| 22 22 20 74 68 65 6e 0d | 67 6f 20 69 74 65 6d 20 |"" then.|go item |
|00003730| 31 20 6f 66 20 67 4c 61 | 73 74 50 6c 61 63 65 0d |1 of gLa|stPlace.|
|00003740| 70 75 74 20 6c 61 73 74 | 50 6c 61 63 65 20 69 6e |put last|Place in|
|00003750| 74 6f 20 67 4c 61 73 74 | 50 6c 61 63 65 0d 65 6c |to gLast|Place.el|
|00003760| 73 65 0d 61 6e 73 77 65 | 72 20 22 53 6f 72 72 79 |se.answe|r "Sorry|
|00003770| 2c 20 79 6f 75 20 68 61 | 76 65 6e d5 74 20 6d 61 |, you ha|ven.t ma|
|00003780| 64 65 20 61 6e 79 20 42 | 6f 6f 6b 6d 61 72 6b 73 |de any B|ookmarks|
|00003790| 2e 22 20 77 69 74 68 20 | 22 4f 4b 22 0d 65 6e 64 |." with |"OK".end|
|000037a0| 20 69 66 0d 65 6e 64 20 | 4c 61 73 74 50 6c 61 63 | if.end |LastPlac|
|000037b0| 65 0d 0d 6f 6e 20 67 6f | 42 6f 6f 6b 4d 61 72 6b |e..on go|BookMark|
|000037c0| 0d 67 6c 6f 62 61 6c 20 | 67 4c 61 73 74 50 6c 61 |.global |gLastPla|
|000037d0| 63 65 2c 67 50 6c 61 63 | 65 4e 61 6d 65 73 2c 20 |ce,gPlac|eNames, |
|000037e0| 67 50 6c 61 63 65 73 2c | 20 67 52 65 63 65 6e 74 |gPlaces,| gRecent|
|000037f0| 50 6c 61 63 65 2c 67 43 | 75 72 4e 6f 64 65 0d 70 |Place,gC|urNode.p|
|00003800| 75 73 68 20 63 61 72 64 | 0d 70 75 74 20 67 65 74 |ush card|.put get|
|00003810| 43 61 72 64 4e 61 6d 65 | 28 29 20 26 20 22 2c 22 |CardName|() & ","|
|00003820| 20 26 20 67 43 75 72 4e | 6f 64 65 20 69 6e 74 6f | & gCurN|ode into|
|00003830| 20 67 52 65 63 65 6e 74 | 50 6c 61 63 65 0d 6c 6f | gRecent|Place.lo|
|00003840| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 20 74 6f 20 |ck scree|n.go to |
|00003850| 63 61 72 64 20 22 42 6f | 6f 6b 4d 61 72 6b 22 20 |card "Bo|okMark" |
|00003860| 6f 66 20 73 74 61 63 6b | 20 22 4d 46 20 42 6f 6f |of stack| "MF Boo|
|00003870| 6b 4d 61 72 6b 22 0d 70 | 75 74 20 67 50 6c 61 63 |kMark".p|ut gPlac|
|00003880| 65 4e 61 6d 65 73 20 69 | 6e 74 6f 20 66 69 65 6c |eNames i|nto fiel|
|00003890| 64 20 22 50 6c 61 63 65 | 4c 69 73 74 22 0d 75 6e |d "Place|List".un|
|000038a0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|000038b0| 20 76 69 73 75 61 6c 20 | 65 66 66 65 63 74 20 69 | visual |effect i|
|000038c0| 72 69 73 20 6f 70 65 6e | 0d 65 6e 64 20 67 6f 42 |ris open|.end goB|
|000038d0| 6f 6f 6b 4d 61 72 6b 0d | 0d 2d 2d 20 74 68 69 73 |ookMark.|.-- this|
|000038e0| 20 68 61 6e 64 6c 65 72 | 20 69 73 20 63 61 6c 6c | handler| is call|
|000038f0| 65 64 20 66 72 6f 6d 20 | 61 6c 6c 20 73 74 61 63 |ed from |all stac|
|00003900| 6b 73 0d 6f 6e 20 4e 6f | 74 65 42 6f 6f 6b 0d 67 |ks.on No|teBook.g|
|00003910| 6c 6f 62 61 6c 20 67 53 | 74 75 64 65 6e 74 4e 61 |lobal gS|tudentNa|
|00003920| 6d 65 0d 73 65 74 57 69 | 6e 64 6f 77 20 31 0d 4e |me.setWi|ndow 1.N|
|00003930| 65 77 57 69 6e 64 6f 77 | 20 32 39 30 2c 32 39 30 |ewWindow| 290,290|
|00003940| 2c 63 65 6e 74 65 72 65 | 64 2c 30 2c 31 2c 22 4e |,centere|d,0,1,"N|
|00003950| 6f 74 65 22 2c 76 69 73 | 69 62 6c 65 0d 70 75 74 |ote",vis|ible.put|
|00003960| 20 22 53 74 75 64 65 6e | 74 20 53 65 72 76 69 63 | "Studen|t Servic|
|00003970| 65 73 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |es" & re|turn & "|
|00003980| 4e 6f 74 65 22 20 69 6e | 74 6f 20 74 68 65 54 65 |Note" in|to theTe|
|00003990| 78 74 0d 4e 65 77 49 74 | 65 6d 20 53 74 61 74 69 |xt.NewIt|em Stati|
|000039a0| 63 54 65 78 74 2c 35 39 | 2c 36 2c 31 39 32 2c 34 |cText,59|,6,192,4|
|000039b0| 38 2c 74 68 65 54 65 78 | 74 2c 22 42 20 67 61 72 |8,theTex|t,"B gar|
|000039c0| 61 6d 6f 6e 64 20 62 6f | 6c 64 22 2c 32 30 2c 70 |amond bo|ld",20,p|
|000039d0| 6c 61 69 6e 0d 2d 2d 20 | 69 74 65 6d 20 31 0d 4e |lain.-- |item 1.N|
|000039e0| 65 77 49 74 65 6d 20 52 | 65 63 74 42 75 74 74 6f |ewItem R|ectButto|
|000039f0| 6e 2c 31 37 2c 38 2c 36 | 31 2c 34 35 2c 4e 6f 74 |n,17,8,6|1,45,Not|
|00003a00| 41 63 74 69 76 65 2c c2 | 0d 31 37 35 32 36 2c 22 |Active,.|.17526,"|
|00003a10| 64 6f 6e 74 69 6e 76 65 | 72 74 22 2c 65 6d 70 74 |dontinve|rt",empt|
|00003a20| 79 2c 6e 6f 43 6f 6c 6f | 72 2c 22 22 2c 22 22 20 |y,noColo|r,"","" |
|00003a30| 2d 2d 20 4e 6f 74 65 20 | 69 63 6f 6e 2c 20 20 49 |-- Note |icon, I|
|00003a40| 74 65 6d 20 32 0d 4e 65 | 77 49 74 65 6d 20 52 65 |tem 2.Ne|wItem Re|
|00003a50| 63 74 61 6e 67 6c 65 2c | 30 2c 35 33 2c 32 39 30 |ctangle,|0,53,290|
|00003a60| 2c 35 34 2c 31 20 2d 2d | 20 69 74 65 6d 20 33 2c |,54,1 --| item 3,|
|00003a70| 20 64 65 63 6f 72 61 74 | 69 76 65 20 72 75 6c 65 | decorat|ive rule|
|00003a80| 0d 4e 65 77 49 74 65 6d | 20 53 74 61 74 69 63 54 |.NewItem| StaticT|
|00003a90| 65 78 74 2c 32 34 2c 36 | 30 2c 31 35 37 2c 37 39 |ext,24,6|0,157,79|
|00003aa0| 2c c2 0d 22 4e 6f 74 65 | 20 69 6e 3a 22 2c 47 61 |,.."Note| in:",Ga|
|00003ab0| 72 61 6d 6f 6e 64 2c 31 | 36 2c 70 6c 61 69 6e 20 |ramond,1|6,plain |
|00003ac0| 2d 2d 20 69 74 65 6d 20 | 34 0d 4e 65 77 49 74 65 |-- item |4.NewIte|
|00003ad0| 6d 20 53 74 61 74 69 63 | 54 65 78 74 2c 32 34 2b |m Static|Text,24+|
|00003ae0| 33 2c 37 39 2c 32 36 30 | 2c 39 35 2c c2 0d 6d 61 |3,79,260|,95,..ma|
|00003af0| 6b 65 53 74 61 6d 70 28 | 29 2c 22 43 68 69 63 61 |keStamp(|),"Chica|
|00003b00| 67 6f 22 2c 31 32 2c 70 | 6c 61 69 6e 20 2d 2d 20 |go",12,p|lain -- |
|00003b10| 69 74 65 6d 20 35 0d 4e | 65 77 49 74 65 6d 20 52 |item 5.N|ewItem R|
|00003b20| 65 63 74 61 6e 67 6c 65 | 2c 32 34 2c 37 38 2c 32 |ectangle|,24,78,2|
|00003b30| 36 38 2c 39 37 2c 31 20 | 2d 2d 49 74 65 6d 20 36 |68,97,1 |--Item 6|
|00003b40| 0d 4e 65 77 49 74 65 6d | 20 53 74 61 74 69 63 54 |.NewItem| StaticT|
|00003b50| 65 78 74 2c 32 34 2c 31 | 30 33 2c 32 36 38 2c 31 |ext,24,1|03,268,1|
|00003b60| 32 33 2c c2 0d 22 54 79 | 70 65 20 6e 6f 74 65 20 |23,.."Ty|pe note |
|00003b70| 68 65 72 65 3a 22 2c 47 | 61 72 61 6d 6f 6e 64 2c |here:",G|aramond,|
|00003b80| 31 36 2c 70 6c 61 69 6e | 20 2d 2d 20 49 74 65 6d |16,plain| -- Item|
|00003b90| 20 37 0d 4e 65 77 49 74 | 65 6d 20 45 64 69 74 54 | 7.NewIt|em EditT|
|00003ba0| 65 78 74 2c 32 34 2c 31 | 32 30 2c 32 36 39 2c 32 |ext,24,1|20,269,2|
|00003bb0| 32 30 2c c2 0d 22 22 2c | 47 65 6e 65 76 61 2c 31 |20,.."",|Geneva,1|
|00003bc0| 32 2c 70 6c 61 69 6e 2c | 68 61 73 53 63 72 6f 6c |2,plain,|hasScrol|
|00003bd0| 6c 2c 68 61 73 43 75 72 | 73 6f 72 20 2d 2d 20 49 |l,hasCur|sor -- I|
|00003be0| 74 65 6d 20 38 0d 4e 65 | 77 49 74 65 6d 20 52 6f |tem 8.Ne|wItem Ro|
|00003bf0| 75 6e 64 42 75 74 74 6f | 6e 2c 32 34 2c 32 32 39 |undButto|n,24,229|
|00003c00| 2c 31 34 30 2c 32 35 35 | 2c c2 0d 22 53 61 76 65 |,140,255|,.."Save|
|00003c10| 20 6e 6f 74 65 22 2c 31 | 33 2c 6e 6f 43 6f 6d 6d | note",1|3,noComm|
|00003c20| 61 6e 64 2c 22 22 20 2d | 2d 20 69 74 65 6d 20 39 |and,"" -|- item 9|
|00003c30| 0d 4e 65 77 49 74 65 6d | 20 52 6f 75 6e 64 42 75 |.NewItem| RoundBu|
|00003c40| 74 74 6f 6e 2c 31 35 32 | 2c 32 33 32 2c 32 36 38 |tton,152|,232,268|
|00003c50| 2c 32 35 32 20 2c c2 0d | 22 54 65 6c 6c 20 41 70 |,252 ,..|"Tell Ap|
|00003c60| 70 6c 65 22 2c 31 30 2c | 6e 6f 43 6f 6d 6d 61 6e |ple",10,|noComman|
|00003c70| 64 2c 22 22 20 2d 2d 20 | 69 74 65 6d 20 31 30 0d |d,"" -- |item 10.|
|00003c80| 4e 65 77 49 74 65 6d 20 | 52 6f 75 6e 64 42 75 74 |NewItem |RoundBut|
|00003c90| 74 6f 6e 2c 32 34 2c 32 | 36 34 2c 31 34 30 2c 32 |ton,24,2|64,140,2|
|00003ca0| 38 34 2c c2 0d 22 47 6f | 20 74 6f 20 4e 6f 74 65 |84,.."Go| to Note|
|00003cb0| 62 6f 6f 6b 22 2c 31 31 | 2c 6e 6f 43 6f 6d 6d 61 |book",11|,noComma|
|00003cc0| 6e 64 2c 22 22 20 2d 2d | 20 69 74 65 6d 20 31 31 |nd,"" --| item 11|
|00003cd0| 0d 4e 65 77 49 74 65 6d | 20 52 6f 75 6e 64 42 75 |.NewItem| RoundBu|
|00003ce0| 74 74 6f 6e 2c 31 35 32 | 2c 32 36 34 2c 32 36 38 |tton,152|,264,268|
|00003cf0| 2c 32 38 34 20 2c c2 0d | 22 43 61 6e 63 65 6c 22 |,284 ,..|"Cancel"|
|00003d00| 2c 63 68 61 72 54 6f 4e | 75 6d 28 22 2e 22 29 2c |,charToN|um("."),|
|00003d10| 43 6f 6d 6d 61 6e 64 2c | 22 22 20 2d 2d 20 69 74 |Command,|"" -- it|
|00003d20| 65 6d 20 31 32 0d 73 65 | 74 20 63 75 72 73 6f 72 |em 12.se|t cursor|
|00003d30| 20 74 6f 20 61 72 72 6f | 77 0d 67 65 74 20 20 44 | to arro|w.get D|
|00003d40| 69 73 70 6c 61 79 20 28 | 33 36 30 30 2c 31 29 0d |isplay (|3600,1).|
|00003d50| 0d 2d 2d 20 4b 69 6c 6c | 20 74 68 65 20 77 69 6e |.-- Kill| the win|
|00003d60| 64 6f 77 20 61 66 74 65 | 72 20 61 20 74 69 6d 65 |dow afte|r a time|
|00003d70| 6f 75 74 0d 69 66 20 69 | 74 20 3d 20 22 74 69 6d |out.if i|t = "tim|
|00003d80| 65 6f 75 74 22 20 74 68 | 65 6e 0d 2d 2d 20 64 65 |eout" th|en.-- de|
|00003d90| 6c 65 74 65 20 6c 61 73 | 74 20 69 74 65 6d 20 6f |lete las|t item o|
|00003da0| 66 20 77 68 65 72 65 57 | 65 43 61 6d 65 46 72 6f |f whereW|eCameFro|
|00003db0| 6d 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 72 65 74 |m.killWi|ndow.ret|
|00003dc0| 75 72 6e 20 22 63 61 6e | 63 65 6c 22 0d 65 6e 64 |urn "can|cel".end|
|00003dd0| 20 69 66 0d 0d 2d 2d 20 | 69 66 20 69 74 20 64 69 | if..-- |if it di|
|00003de0| 64 6e 27 74 20 74 69 6d | 65 20 6f 75 74 2c 20 73 |dn't tim|e out, s|
|00003df0| 65 65 20 77 68 61 74 20 | 74 68 65 20 75 73 65 72 |ee what |the user|
|00003e00| 20 63 68 6f 73 65 0d 70 | 75 74 20 69 74 65 6d 20 | chose.p|ut item |
|00003e10| 34 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 75 73 65 |4 of it |into use|
|00003e20| 72 50 69 63 6b 65 64 0d | 69 66 20 75 73 65 72 50 |rPicked.|if userP|
|00003e30| 69 63 6b 65 64 20 69 73 | 20 22 53 61 76 65 20 6e |icked is| "Save n|
|00003e40| 6f 74 65 22 20 74 68 65 | 6e 20 2d 2d 20 63 72 65 |ote" the|n -- cre|
|00003e50| 61 74 65 20 61 20 6e 65 | 77 20 6e 6f 74 65 0d 73 |ate a ne|w note.s|
|00003e60| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00003e70| 63 68 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ch.put i|tem 2 of|
|00003e80| 20 20 47 65 74 56 61 6c | 75 65 28 22 49 74 65 6d | GetVal|ue("Item|
|00003e90| 22 2c 35 29 20 69 6e 74 | 6f 20 70 6c 61 63 65 4e |",5) int|o placeN|
|00003ea0| 61 6d 65 0d 2d 2d 20 74 | 68 65 20 6e 6f 74 65 20 |ame.-- t|he note |
|00003eb0| 74 69 6d 65 2f 70 6c 61 | 63 65 20 73 74 61 6d 70 |time/pla|ce stamp|
|00003ec0| 0d 70 75 74 20 47 65 74 | 56 61 6c 75 65 28 22 49 |.put Get|Value("I|
|00003ed0| 74 65 6d 22 2c 38 29 20 | 69 6e 74 6f 20 6e 6f 74 |tem",8) |into not|
|00003ee0| 65 54 65 78 74 20 2d 2d | 20 74 68 65 20 61 63 74 |eText --| the act|
|00003ef0| 75 61 6c 20 74 65 78 74 | 0d 64 65 6c 65 74 65 20 |ual text|.delete |
|00003f00| 69 74 65 6d 20 31 20 6f | 66 20 6e 6f 74 65 54 65 |item 1 o|f noteTe|
|00003f10| 78 74 20 2d 2d 20 64 6f | 20 74 68 69 73 20 62 65 |xt -- do| this be|
|00003f20| 63 61 75 73 65 20 6f 66 | 20 74 65 78 74 20 63 6f |cause of| text co|
|00003f30| 6d 6d 61 73 0d 70 75 74 | 20 73 74 72 69 70 52 65 |mmas.put| stripRe|
|00003f40| 74 75 72 6e 73 28 6e 6f | 74 65 54 65 78 74 29 20 |turns(no|teText) |
|00003f50| 69 6e 74 6f 20 6e 6f 74 | 65 74 65 78 74 0d 6b 69 |into not|etext.ki|
|00003f60| 6c 6c 57 69 6e 64 6f 77 | 0d 73 65 74 20 63 75 72 |llWindow|.set cur|
|00003f70| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 69 66 20 |sor to w|atch.if |
|00003f80| 67 6f 53 74 75 64 65 6e | 74 53 74 61 63 6b 28 22 |goStuden|tStack("|
|00003f90| 61 73 6b 22 29 20 69 73 | 20 22 74 72 75 65 22 20 |ask") is| "true" |
|00003fa0| 74 68 65 6e 0d 67 6f 20 | 63 64 20 22 6e 6f 74 65 |then.go |cd "note|
|00003fb0| 62 6f 6f 6b 22 0d 65 6c | 73 65 0d 65 78 69 74 20 |book".el|se.exit |
|00003fc0| 6e 6f 74 65 62 6f 6f 6b | 0d 65 6e 64 20 69 66 0d |notebook|.end if.|
|00003fd0| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00003fe0| 20 63 68 61 72 73 20 69 | 6e 20 66 6c 64 20 22 6e | chars i|n fld "n|
|00003ff0| 6f 74 65 73 22 20 3e 20 | 32 39 30 30 30 20 74 68 |otes" > |29000 th|
|00004000| 65 6e 0d 61 6e 73 77 65 | 72 20 22 53 6f 72 72 79 |en.answe|r "Sorry|
|00004010| 2c 20 79 6f 75 72 20 6e | 6f 74 65 62 6f 6f 6b 20 |, your n|otebook |
|00004020| 69 73 20 74 6f 6f 20 66 | 75 6c 6c 20 74 6f 20 73 |is too f|ull to s|
|00004030| 61 76 65 20 61 6e 79 20 | 6d 6f 72 65 20 6e 6f 74 |ave any |more not|
|00004040| 65 73 2e 22 0d 65 6c 73 | 65 0d 70 75 74 20 70 6c |es.".els|e.put pl|
|00004050| 61 63 65 4e 61 6d 65 20 | 26 20 72 65 74 75 72 6e |aceName |& return|
|00004060| 20 26 20 6e 6f 74 65 54 | 65 78 74 20 26 20 72 65 | & noteT|ext & re|
|00004070| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 61 66 |turn & r|eturn af|
|00004080| 74 65 72 20 66 6c 64 20 | 22 6e 6f 74 65 73 22 0d |ter fld |"notes".|
|00004090| 65 6e 64 20 69 66 0d 70 | 6f 70 20 63 61 72 64 0d |end if.p|op card.|
|000040a0| 65 6c 73 65 20 69 66 20 | 75 73 65 72 50 69 63 6b |else if |userPick|
|000040b0| 65 64 20 69 73 20 22 54 | 65 6c 6c 20 41 70 70 6c |ed is "T|ell Appl|
|000040c0| 65 22 20 74 68 65 6e 0d | 2d 2d 20 70 75 74 20 74 |e" then.|-- put t|
|000040d0| 68 65 20 63 6f 6d 6d 65 | 6e 74 20 69 6e 74 6f 20 |he comme|nt into |
|000040e0| 41 70 70 6c 65 20 66 65 | 65 64 62 61 63 6b 20 73 |Apple fe|edback s|
|000040f0| 74 61 63 6b 20 28 63 6f | 6d 6d 65 6e 74 73 29 0d |tack (co|mments).|
|00004100| 2d 2d 20 61 73 20 77 65 | 6c 6c 20 61 73 20 75 73 |-- as we|ll as us|
|00004110| 65 72 20 6e 6f 74 65 62 | 6f 6f 6b 0d 70 75 74 20 |er noteb|ook.put |
|00004120| 69 74 65 6d 20 32 20 6f | 66 20 20 47 65 74 56 61 |item 2 o|f GetVa|
|00004130| 6c 75 65 28 22 49 74 65 | 6d 22 2c 35 29 20 69 6e |lue("Ite|m",5) in|
|00004140| 74 6f 20 70 6c 61 63 65 | 4e 61 6d 65 0d 2d 2d 20 |to place|Name.-- |
|00004150| 74 68 65 20 6e 6f 74 65 | 20 74 69 6d 65 2f 70 6c |the note| time/pl|
|00004160| 61 63 65 20 73 74 61 6d | 70 0d 70 75 74 20 47 65 |ace stam|p.put Ge|
|00004170| 74 56 61 6c 75 65 28 22 | 49 74 65 6d 22 2c 38 29 |tValue("|Item",8)|
|00004180| 20 69 6e 74 6f 20 6e 6f | 74 65 54 65 78 74 20 2d | into no|teText -|
|00004190| 2d 20 74 68 65 20 61 63 | 74 75 61 6c 20 74 65 78 |- the ac|tual tex|
|000041a0| 74 0d 64 65 6c 65 74 65 | 20 69 74 65 6d 20 31 20 |t.delete| item 1 |
|000041b0| 6f 66 20 6e 6f 74 65 54 | 65 78 74 20 2d 2d 20 64 |of noteT|ext -- d|
|000041c0| 6f 20 74 68 69 73 20 62 | 65 63 61 75 73 65 20 6f |o this b|ecause o|
|000041d0| 66 20 74 65 78 74 20 63 | 6f 6d 6d 61 73 0d 70 75 |f text c|ommas.pu|
|000041e0| 74 20 73 74 72 69 70 52 | 65 74 75 72 6e 73 28 6e |t stripR|eturns(n|
|000041f0| 6f 74 65 54 65 78 74 29 | 20 69 6e 74 6f 20 6e 6f |oteText)| into no|
|00004200| 74 65 74 65 78 74 0d 70 | 75 74 20 74 68 65 20 73 |tetext.p|ut the s|
|00004210| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00004220| 73 20 73 74 61 63 6b 20 | 26 26 20 22 2a 22 20 26 |s stack |&& "*" &|
|00004230| 26 20 74 68 65 20 69 64 | 20 6f 66 20 74 68 69 73 |& the id| of this|
|00004240| 20 63 64 20 69 6e 74 6f | 20 63 64 6e 61 6d 65 0d | cd into| cdname.|
|00004250| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 73 65 74 20 63 |killWind|ow.set c|
|00004260| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 62 |ursor to| watch.b|
|00004270| 65 51 75 69 65 74 0d 67 | 6f 20 63 64 20 22 6e 6f |eQuiet.g|o cd "no|
|00004280| 74 65 62 6f 6f 6b 22 20 | 6f 66 20 73 74 61 63 6b |tebook" |of stack|
|00004290| 20 22 4d 46 20 41 70 70 | 6c 65 20 46 65 65 64 62 | "MF App|le Feedb|
|000042a0| 61 63 6b 22 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ack".if |the resu|
|000042b0| 6c 74 20 69 73 20 6e 6f | 74 20 22 22 20 74 68 65 |lt is no|t "" the|
|000042c0| 6e 0d 70 75 74 20 22 53 | 6f 72 72 79 2c 74 68 65 |n.put "S|orry,the|
|000042d0| 20 41 70 70 6c 65 20 46 | 65 65 64 62 61 63 6b 20 | Apple F|eedback |
|000042e0| 73 74 61 63 6b 20 69 73 | 20 6e 6f 74 20 61 76 61 |stack is| not ava|
|000042f0| 69 6c 61 62 6c 65 20 66 | 6f 72 20 22 26 26 c2 0d |ilable f|or "&&..|
|00004300| 22 74 61 6b 69 6e 67 20 | 79 6f 75 72 20 63 6f 6d |"taking |your com|
|00004310| 6d 65 6e 74 73 2e 22 20 | 69 6e 74 6f 20 73 74 72 |ments." |into str|
|00004320| 69 6e 67 0d 61 6e 73 77 | 65 72 20 73 74 72 69 6e |ing.answ|er strin|
|00004330| 67 20 77 69 74 68 20 22 | 4f 4b 22 0d 65 78 69 74 |g with "|OK".exit|
|00004340| 20 6e 6f 74 65 62 6f 6f | 6b 0d 65 6e 64 20 69 66 | noteboo|k.end if|
|00004350| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00004360| 66 20 63 68 61 72 73 20 | 69 6e 20 66 6c 64 20 22 |f chars |in fld "|
|00004370| 6e 6f 74 65 73 22 20 3e | 20 32 39 30 30 30 20 74 |notes" >| 29000 t|
|00004380| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 53 6f 72 72 |hen.answ|er "Sorr|
|00004390| 79 2c 20 74 68 65 20 41 | 70 70 6c 65 20 46 65 65 |y, the A|pple Fee|
|000043a0| 64 62 61 63 6b 20 73 74 | 61 63 6b 20 69 73 20 74 |dback st|ack is t|
|000043b0| 6f 6f 20 66 75 6c 6c 20 | 74 6f 20 73 61 76 65 20 |oo full |to save |
|000043c0| 61 6e 79 20 6d 6f 72 65 | 20 6e 6f 74 65 73 2e 22 |any more| notes."|
|000043d0| 0d 65 6c 73 65 0d 70 75 | 74 20 67 53 74 75 64 65 |.else.pu|t gStude|
|000043e0| 6e 74 4e 61 6d 65 20 26 | 20 72 65 74 75 72 6e 20 |ntName &| return |
|000043f0| 26 26 20 63 64 6e 61 6d | 65 20 26 26 20 72 65 74 |&& cdnam|e && ret|
|00004400| 75 72 6e 20 61 66 74 65 | 72 20 66 6c 64 20 22 6e |urn afte|r fld "n|
|00004410| 6f 74 65 73 22 0d 70 75 | 74 20 70 6c 61 63 65 4e |otes".pu|t placeN|
|00004420| 61 6d 65 20 26 20 72 65 | 74 75 72 6e 20 26 20 6e |ame & re|turn & n|
|00004430| 6f 74 65 54 65 78 74 20 | 26 20 72 65 74 75 72 6e |oteText |& return|
|00004440| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00004450| 66 6c 64 20 22 6e 6f 74 | 65 73 22 0d 65 6e 64 20 |fld "not|es".end |
|00004460| 69 66 0d 72 65 74 75 72 | 6e 51 75 69 65 74 0d 65 |if.retur|nQuiet.e|
|00004470| 6c 73 65 20 69 66 20 75 | 73 65 72 50 69 63 6b 65 |lse if u|serPicke|
|00004480| 64 20 69 73 20 22 47 6f | 20 74 6f 20 6e 6f 74 65 |d is "Go| to note|
|00004490| 62 6f 6f 6b 22 20 74 68 | 65 6e 20 2d 2d 20 6f 70 |book" th|en -- op|
|000044a0| 65 6e 20 74 68 65 20 6e | 6f 74 65 62 6f 6f 6b 0d |en the n|otebook.|
|000044b0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|000044c0| 74 63 68 0d 70 75 74 20 | 47 65 74 56 61 6c 75 65 |tch.put |GetValue|
|000044d0| 28 22 49 74 65 6d 22 2c | 38 29 20 69 6e 74 6f 20 |("Item",|8) into |
|000044e0| 6e 6f 74 65 54 65 78 74 | 20 2d 2d 20 74 68 65 20 |noteText| -- the |
|000044f0| 61 63 74 75 61 6c 20 74 | 65 78 74 0d 69 66 20 6e |actual t|ext.if n|
|00004500| 6f 74 65 54 65 78 74 20 | 69 73 20 6e 6f 74 20 22 |oteText |is not "|
|00004510| 22 20 74 68 65 6e 0d 70 | 75 74 20 69 74 65 6d 20 |" then.p|ut item |
|00004520| 32 20 6f 66 20 20 47 65 | 74 56 61 6c 75 65 28 22 |2 of Ge|tValue("|
|00004530| 49 74 65 6d 22 2c 35 29 | 20 69 6e 74 6f 20 70 6c |Item",5)| into pl|
|00004540| 61 63 65 4e 61 6d 65 0d | 64 65 6c 65 74 65 20 69 |aceName.|delete i|
|00004550| 74 65 6d 20 31 20 6f 66 | 20 6e 6f 74 65 54 65 78 |tem 1 of| noteTex|
|00004560| 74 20 2d 2d 20 64 6f 20 | 74 68 69 73 20 62 65 63 |t -- do |this bec|
|00004570| 61 75 73 65 20 6f 66 20 | 74 65 78 74 20 63 6f 6d |ause of |text com|
|00004580| 6d 61 73 0d 70 75 74 20 | 73 74 72 69 70 52 65 74 |mas.put |stripRet|
|00004590| 75 72 6e 73 28 6e 6f 74 | 65 54 65 78 74 29 20 69 |urns(not|eText) i|
|000045a0| 6e 74 6f 20 6e 6f 74 65 | 74 65 78 74 0d 65 6e 64 |nto note|text.end|
|000045b0| 20 69 66 0d 6b 69 6c 6c | 57 69 6e 64 6f 77 0d 69 | if.kill|Window.i|
|000045c0| 66 20 67 6f 53 74 75 64 | 65 6e 74 53 74 61 63 6b |f goStud|entStack|
|000045d0| 28 22 61 73 6b 22 29 20 | 69 73 20 66 61 6c 73 65 |("ask") |is false|
|000045e0| 20 74 68 65 6e 20 65 78 | 69 74 20 6e 6f 74 65 62 | then ex|it noteb|
|000045f0| 6f 6f 6b 0d 67 6f 20 63 | 64 20 22 6e 6f 74 65 62 |ook.go c|d "noteb|
|00004600| 6f 6f 6b 22 0d 69 66 20 | 6e 6f 74 65 54 65 78 74 |ook".if |noteText|
|00004610| 20 69 73 20 6e 6f 74 20 | 22 22 20 74 68 65 6e 0d | is not |"" then.|
|00004620| 70 75 74 20 70 6c 61 63 | 65 4e 61 6d 65 20 26 20 |put plac|eName & |
|00004630| 72 65 74 75 72 6e 20 26 | 20 6e 6f 74 65 54 65 78 |return &| noteTex|
|00004640| 74 20 26 20 72 65 74 75 | 72 6e 20 26 20 72 65 74 |t & retu|rn & ret|
|00004650| 75 72 6e 20 61 66 74 65 | 72 20 66 6c 64 20 22 6e |urn afte|r fld "n|
|00004660| 6f 74 65 73 22 0d 65 6e | 64 20 69 66 0d 75 6e 6c |otes".en|d if.unl|
|00004670| 6f 63 6b 20 73 63 72 65 | 65 6e 20 77 69 74 68 20 |ock scre|en with |
|00004680| 69 72 69 73 20 6f 70 65 | 6e 0d 65 6c 73 65 20 2d |iris ope|n.else -|
|00004690| 2d 20 6d 75 73 74 20 62 | 65 20 43 61 6e 63 65 6c |- must b|e Cancel|
|000046a0| 0d 6b 69 6c 6c 57 69 6e | 64 6f 77 0d 65 6e 64 20 |.killWin|dow.end |
|000046b0| 69 66 0d 65 6e 64 20 4e | 6f 74 65 42 6f 6f 6b 0d |if.end N|oteBook.|
|000046c0| 0d 66 75 6e 63 74 69 6f | 6e 20 73 74 72 69 70 52 |.functio|n stripR|
|000046d0| 65 74 75 72 6e 73 20 73 | 74 72 69 6e 67 0d 72 65 |eturns s|tring.re|
|000046e0| 70 65 61 74 0d 67 65 74 | 20 6c 61 73 74 20 63 68 |peat.get| last ch|
|000046f0| 61 72 20 6f 66 20 73 74 | 72 69 6e 67 0d 69 66 20 |ar of st|ring.if |
|00004700| 69 74 20 3d 20 72 65 74 | 75 72 6e 20 74 68 65 6e |it = ret|urn then|
|00004710| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|00004720| 72 20 6f 66 20 53 74 72 | 69 6e 67 0d 65 6c 73 65 |r of Str|ing.else|
|00004730| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 | exit re|peat.end|
|00004740| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 73 | repeat.|return s|
|00004750| 74 72 69 6e 67 0d 65 6e | 64 20 73 74 72 69 70 52 |tring.en|d stripR|
|00004760| 65 74 75 72 6e 73 0d 0d | 2d 2d 20 74 68 69 73 20 |eturns..|-- this |
|00004770| 68 61 6e 64 6c 65 72 20 | 69 73 20 63 61 6c 6c 65 |handler |is calle|
|00004780| 64 20 66 72 6f 6d 20 61 | 6c 6c 20 73 74 61 63 6b |d from a|ll stack|
|00004790| 73 0d 6f 6e 20 53 6e 61 | 70 73 68 6f 74 0d 73 65 |s.on Sna|pshot.se|
|000047a0| 74 57 69 6e 64 6f 77 20 | 31 0d 4e 65 77 57 69 6e |tWindow |1.NewWin|
|000047b0| 64 6f 77 20 32 39 30 2c | 32 32 32 2c 63 65 6e 74 |dow 290,|222,cent|
|000047c0| 65 72 65 64 2c 30 2c 31 | 2c 22 53 6e 61 70 73 68 |ered,0,1|,"Snapsh|
|000047d0| 6f 74 20 44 69 61 6c 6f | 67 22 2c 76 69 73 69 62 |ot Dialo|g",visib|
|000047e0| 6c 65 0d 70 75 74 20 22 | 53 74 75 64 65 6e 74 20 |le.put "|Student |
|000047f0| 53 65 72 76 69 63 65 73 | 22 20 26 20 72 65 74 75 |Services|" & retu|
|00004800| 72 6e 20 26 20 22 53 6e | 61 70 73 68 6f 74 22 20 |rn & "Sn|apshot" |
|00004810| 69 6e 74 6f 20 74 68 65 | 54 65 78 74 0d 4e 65 77 |into the|Text.New|
|00004820| 49 74 65 6d 20 53 74 61 | 74 69 63 54 65 78 74 2c |Item Sta|ticText,|
|00004830| 35 39 2c 36 2c 31 39 32 | 2c 34 38 2c 74 68 65 54 |59,6,192|,48,theT|
|00004840| 65 78 74 2c 22 42 20 67 | 61 72 61 6d 6f 6e 64 20 |ext,"B g|aramond |
|00004850| 62 6f 6c 64 22 2c 32 30 | 2c 70 6c 61 69 6e 0d 2d |bold",20|,plain.-|
|00004860| 2d 20 69 74 65 6d 20 31 | 0d 4e 65 77 49 74 65 6d |- item 1|.NewItem|
|00004870| 20 52 65 63 74 42 75 74 | 74 6f 6e 2c 31 37 2c 38 | RectBut|ton,17,8|
|00004880| 2c 36 31 2c 34 35 2c c2 | 0d 22 4e 6f 74 41 63 74 |,61,45,.|."NotAct|
|00004890| 69 76 65 22 2c 32 36 34 | 37 35 2c 22 64 6f 6e 74 |ive",264|75,"dont|
|000048a0| 69 6e 76 65 72 74 22 2c | 65 6d 70 74 79 2c 6e 6f |invert",|empty,no|
|000048b0| 43 6f 6c 6f 72 2c 22 22 | 2c 22 22 0d 2d 2d 20 20 |Color,""|,"".-- |
|000048c0| 62 6f 6f 6b 6d 61 72 6b | 20 67 72 61 70 68 69 63 |bookmark| graphic|
|000048d0| 20 69 74 65 6d 20 32 0d | 4e 65 77 49 74 65 6d 20 | item 2.|NewItem |
|000048e0| 52 65 63 74 61 6e 67 6c | 65 2c 30 2c 35 33 2c 32 |Rectangl|e,0,53,2|
|000048f0| 39 30 2c 35 34 2c 31 20 | 2d 2d 20 69 74 65 6d 20 |90,54,1 |-- item |
|00004900| 33 2c 20 64 65 63 6f 72 | 61 74 69 76 65 20 72 75 |3, decor|ative ru|
|00004910| 6c 65 0d 4e 65 77 49 74 | 65 6d 20 53 74 61 74 69 |le.NewIt|em Stati|
|00004920| 63 54 65 78 74 2c 32 34 | 2c 36 30 2c 31 35 37 2c |cText,24|,60,157,|
|00004930| 37 39 2c c2 0d 22 53 6e | 61 70 73 68 6f 74 20 69 |79,.."Sn|apshot i|
|00004940| 6e 3a 22 2c 47 61 72 61 | 6d 6f 6e 64 2c 31 36 2c |n:",Gara|mond,16,|
|00004950| 70 6c 61 69 6e 20 2d 2d | 20 69 74 65 6d 20 34 0d |plain --| item 4.|
|00004960| 4e 65 77 49 74 65 6d 20 | 53 74 61 74 69 63 54 65 |NewItem |StaticTe|
|00004970| 78 74 2c 32 34 2b 33 2c | 37 39 2c 32 36 30 2c 39 |xt,24+3,|79,260,9|
|00004980| 35 2c c2 0d 6d 61 6b 65 | 53 74 61 6d 70 28 29 2c |5,..make|Stamp(),|
|00004990| 22 43 68 69 63 61 67 6f | 22 2c 31 32 2c 70 6c 61 |"Chicago|",12,pla|
|000049a0| 69 6e 20 2d 2d 20 69 74 | 65 6d 20 35 0d 4e 65 77 |in -- it|em 5.New|
|000049b0| 49 74 65 6d 20 52 65 63 | 74 61 6e 67 6c 65 2c 32 |Item Rec|tangle,2|
|000049c0| 34 2c 37 38 2c 32 36 38 | 2c 39 37 2c 31 20 2d 2d |4,78,268|,97,1 --|
|000049d0| 49 74 65 6d 20 36 0d 4e | 65 77 49 74 65 6d 20 53 |Item 6.N|ewItem S|
|000049e0| 74 61 74 69 63 54 65 78 | 74 2c 32 34 2c 31 30 33 |taticTex|t,24,103|
|000049f0| 2c 32 36 38 2c 31 32 33 | 2c c2 0d 22 53 6e 61 70 |,268,123|,.."Snap|
|00004a00| 73 68 6f 74 20 6e 61 6d | 65 20 28 6f 70 74 69 6f |shot nam|e (optio|
|00004a10| 6e 61 6c 29 3a 22 2c 47 | 61 72 61 6d 6f 6e 64 2c |nal):",G|aramond,|
|00004a20| 31 36 2c 70 6c 61 69 6e | 20 2d 2d 20 69 74 65 6d |16,plain| -- item|
|00004a30| 20 37 0d 4e 65 77 49 74 | 65 6d 20 45 64 69 74 54 | 7.NewIt|em EditT|
|00004a40| 65 78 74 2c 32 34 2c 31 | 32 30 2c 32 36 38 2c 31 |ext,24,1|20,268,1|
|00004a50| 34 31 2c c2 0d 65 6d 70 | 74 79 2c 22 43 68 69 63 |41,..emp|ty,"Chic|
|00004a60| 61 67 6f 22 2c 31 32 2c | 70 6c 61 69 6e 2c 6e 6f |ago",12,|plain,no|
|00004a70| 53 63 72 6f 6c 6c 2c 68 | 61 73 43 75 72 73 6f 72 |Scroll,h|asCursor|
|00004a80| 20 2d 2d 20 69 74 65 6d | 20 38 0d 4e 65 77 49 74 | -- item| 8.NewIt|
|00004a90| 65 6d 20 52 6f 75 6e 64 | 42 75 74 74 6f 6e 2c 32 |em Round|Button,2|
|00004aa0| 34 2c 31 36 31 2c 31 34 | 30 2c 31 38 37 2c c2 0d |4,161,14|0,187,..|
|00004ab0| 22 54 61 6b 65 20 53 6e | 61 70 73 68 6f 74 22 2c |"Take Sn|apshot",|
|00004ac0| 31 33 2c 6e 6f 43 6f 6d | 6d 61 6e 64 2c 22 22 20 |13,noCom|mand,"" |
|00004ad0| 2d 2d 20 69 74 65 6d 20 | 38 0d 4e 65 77 49 74 65 |-- item |8.NewIte|
|00004ae0| 6d 20 52 6f 75 6e 64 42 | 75 74 74 6f 6e 2c 31 35 |m RoundB|utton,15|
|00004af0| 32 2c 31 36 34 2c 32 36 | 38 2c 31 38 34 20 2c c2 |2,164,26|8,184 ,.|
|00004b00| 0d 22 50 72 69 6e 74 20 | 53 6e 61 70 73 68 6f 74 |."Print |Snapshot|
|00004b10| 22 2c 31 34 2c 6e 6f 43 | 6f 6d 6d 61 6e 64 2c 22 |",14,noC|ommand,"|
|00004b20| 22 20 2d 2d 20 69 74 65 | 6d 20 39 0d 4e 65 77 49 |" -- ite|m 9.NewI|
|00004b30| 74 65 6d 20 52 6f 75 6e | 64 42 75 74 74 6f 6e 2c |tem Roun|dButton,|
|00004b40| 32 34 2c 31 39 36 2c 31 | 34 30 2c 32 31 36 2c c2 |24,196,1|40,216,.|
|00004b50| 0d 22 56 69 65 77 20 53 | 6e 61 70 73 68 6f 74 73 |."View S|napshots|
|00004b60| 22 2c 31 34 2c 6e 6f 43 | 6f 6d 6d 61 6e 64 2c 22 |",14,noC|ommand,"|
|00004b70| 22 20 2d 2d 20 69 74 65 | 6d 20 31 30 0d 4e 65 77 |" -- ite|m 10.New|
|00004b80| 49 74 65 6d 20 52 6f 75 | 6e 64 42 75 74 74 6f 6e |Item Rou|ndButton|
|00004b90| 2c 31 35 32 2c 31 39 36 | 2c 32 36 38 2c 32 31 36 |,152,196|,268,216|
|00004ba0| 2c c2 0d 22 43 61 6e 63 | 65 6c 22 2c 63 68 61 72 |,.."Canc|el",char|
|00004bb0| 54 6f 4e 75 6d 28 22 2e | 22 29 2c 43 6f 6d 6d 61 |ToNum(".|"),Comma|
|00004bc0| 6e 64 2c 22 22 20 2d 2d | 20 69 74 65 6d 20 31 31 |nd,"" --| item 11|
|00004bd0| 0d 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |..set cu|rsor to |
|00004be0| 61 72 72 6f 77 0d 67 65 | 74 20 20 44 69 73 70 6c |arrow.ge|t Displ|
|00004bf0| 61 79 20 28 31 38 30 2c | 31 29 0d 0d 2d 2d 20 4b |ay (180,|1)..-- K|
|00004c00| 69 6c 6c 20 74 68 65 20 | 77 69 6e 64 6f 77 20 61 |ill the |window a|
|00004c10| 66 74 65 72 20 61 20 74 | 69 6d 65 6f 75 74 0d 69 |fter a t|imeout.i|
|00004c20| 66 20 69 74 20 3d 20 22 | 74 69 6d 65 6f 75 74 22 |f it = "|timeout"|
|00004c30| 20 74 68 65 6e 0d 2d 2d | 20 64 65 6c 65 74 65 20 | then.--| delete |
|00004c40| 6c 61 73 74 20 69 74 65 | 6d 20 6f 66 20 77 68 65 |last ite|m of whe|
|00004c50| 72 65 57 65 43 61 6d 65 | 46 72 6f 6d 0d 6b 69 6c |reWeCame|From.kil|
|00004c60| 6c 57 69 6e 64 6f 77 0d | 72 65 74 75 72 6e 20 22 |lWindow.|return "|
|00004c70| 63 61 6e 63 65 6c 22 0d | 65 6e 64 20 69 66 0d 0d |cancel".|end if..|
|00004c80| 2d 2d 20 69 66 20 69 74 | 20 64 69 64 6e 27 74 20 |-- if it| didn't |
|00004c90| 74 69 6d 65 20 6f 75 74 | 2c 20 73 65 65 20 77 68 |time out|, see wh|
|00004ca0| 61 74 20 74 68 65 20 75 | 73 65 72 20 63 68 6f 73 |at the u|ser chos|
|00004cb0| 65 0d 70 75 74 20 69 74 | 65 6d 20 34 20 6f 66 20 |e.put it|em 4 of |
|00004cc0| 69 74 20 69 6e 74 6f 20 | 75 73 65 72 50 69 63 6b |it into |userPick|
|00004cd0| 65 64 0d 69 66 20 75 73 | 65 72 50 69 63 6b 65 64 |ed.if us|erPicked|
|00004ce0| 20 69 73 20 22 54 61 6b | 65 20 73 6e 61 70 73 68 | is "Tak|e snapsh|
|00004cf0| 6f 74 22 20 74 68 65 6e | 20 2d 2d 20 74 61 6b 65 |ot" then| -- take|
|00004d00| 20 73 6e 61 70 73 68 6f | 74 0d 73 65 74 20 63 75 | snapsho|t.set cu|
|00004d10| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|00004d20| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 20 47 65 74 |t item 2| of Get|
|00004d30| 56 61 6c 75 65 28 22 49 | 74 65 6d 22 2c 35 29 20 |Value("I|tem",5) |
|00004d40| 69 6e 74 6f 20 73 68 6f | 74 4e 61 6d 65 0d 67 65 |into sho|tName.ge|
|00004d50| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 67 65 74 56 |t item 2| of getV|
|00004d60| 61 6c 75 65 28 22 49 74 | 65 6d 22 2c 38 29 0d 69 |alue("It|em",8).i|
|00004d70| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 22 22 20 74 |f it is |not "" t|
|00004d80| 68 65 6e 20 70 75 74 20 | 22 20 a5 20 22 20 26 20 |hen put |" . " & |
|00004d90| 69 74 20 61 66 74 65 72 | 20 73 68 6f 74 4e 61 6d |it after| shotNam|
|00004da0| 65 0d 6b 69 6c 6c 57 69 | 6e 64 6f 77 0d 6d 61 6b |e.killWi|ndow.mak|
|00004db0| 65 53 6e 61 70 53 68 6f | 74 20 73 68 6f 74 4e 61 |eSnapSho|t shotNa|
|00004dc0| 6d 65 0d 0d 65 6c 73 65 | 20 69 66 20 75 73 65 72 |me..else| if user|
|00004dd0| 50 69 63 6b 65 64 20 69 | 73 20 22 50 72 69 6e 74 |Picked i|s "Print|
|00004de0| 20 53 6e 61 70 73 68 6f | 74 22 20 74 68 65 6e 0d | Snapsho|t" then.|
|00004df0| 64 6f 6d 65 6e 75 20 22 | 70 72 69 6e 74 20 63 61 |domenu "|print ca|
|00004e00| 72 64 22 20 2d 2d 20 70 | 72 69 6e 74 20 73 63 72 |rd" -- p|rint scr|
|00004e10| 65 65 6e 0d 6b 69 6c 6c | 57 69 6e 64 6f 77 0d 65 |een.kill|Window.e|
|00004e20| 6c 73 65 20 69 66 20 75 | 73 65 72 50 69 63 6b 65 |lse if u|serPicke|
|00004e30| 64 20 69 73 20 22 56 69 | 65 77 20 53 6e 61 70 73 |d is "Vi|ew Snaps|
|00004e40| 68 6f 74 73 22 20 74 68 | 65 6e 20 2d 2d 20 6e 65 |hots" th|en -- ne|
|00004e50| 77 20 73 6e 61 70 73 68 | 6f 74 20 64 69 73 6b 0d |w snapsh|ot disk.|
|00004e60| 6b 69 6c 6c 57 69 6e 64 | 6f 77 0d 62 65 71 75 69 |killWind|ow.bequi|
|00004e70| 65 74 0d 67 65 74 20 67 | 6f 53 6e 61 70 73 68 6f |et.get g|oSnapsho|
|00004e80| 74 28 29 0d 65 6c 73 65 | 20 2d 2d 20 6d 75 73 74 |t().else| -- must|
|00004e90| 20 62 65 20 43 61 6e 63 | 65 6c 0d 6b 69 6c 6c 57 | be Canc|el.killW|
|00004ea0| 69 6e 64 6f 77 0d 65 6e | 64 20 69 66 0d 65 6e 64 |indow.en|d if.end|
|00004eb0| 20 53 6e 61 70 73 68 6f | 74 0d 0d 6f 6e 20 6d 61 | Snapsho|t..on ma|
|00004ec0| 6b 65 53 6e 61 70 53 68 | 6f 74 20 73 68 6f 74 4e |keSnapSh|ot shotN|
|00004ed0| 61 6d 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ame.set |cursor t|
|00004ee0| 6f 20 77 61 74 63 68 0d | 62 65 51 75 69 65 74 0d |o watch.|beQuiet.|
|00004ef0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 2d 2d |unlock s|creen --|
|00004f00| 20 66 6f 72 20 72 65 66 | 72 65 73 68 2c 20 73 69 | for ref|resh, si|
|00004f10| 6e 63 65 20 77 65 27 72 | 65 20 74 61 6b 69 6e 67 |nce we'r|e taking|
|00004f20| 20 61 20 70 69 63 74 75 | 72 65 20 6f 66 20 69 74 | a pictu|re of it|
|00004f30| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 43 6f 70 |.lock sc|reen.Cop|
|00004f40| 79 53 63 72 65 65 6e 0d | 69 66 20 67 6f 53 6e 61 |yScreen.|if goSna|
|00004f50| 70 73 68 6f 74 28 29 20 | 69 73 20 74 72 75 65 20 |pshot() |is true |
|00004f60| 74 68 65 6e 0d 67 6f 20 | 6c 61 73 74 20 63 64 0d |then.go |last cd.|
|00004f70| 73 65 6e 64 20 22 74 61 | 6b 65 53 6e 61 70 53 68 |send "ta|keSnapSh|
|00004f80| 6f 74 20 73 68 6f 74 4e | 61 6d 65 22 20 74 6f 20 |ot shotN|ame" to |
|00004f90| 74 68 69 73 20 62 67 0d | 65 6e 64 20 69 66 0d 65 |this bg.|end if.e|
|00004fa0| 6e 64 20 6d 61 6b 65 53 | 6e 61 70 73 68 6f 74 0d |nd makeS|napshot.|
|00004fb0| 0d 66 75 6e 63 74 69 6f | 6e 20 6d 61 6b 65 53 74 |.functio|n makeSt|
|00004fc0| 61 6d 70 0d 2d 2d 20 6d | 61 6b 65 20 61 20 6d 6f |amp.-- m|ake a mo|
|00004fd0| 64 75 6c 65 2c 64 61 74 | 65 20 61 6e 64 20 74 69 |dule,dat|e and ti|
|00004fe0| 6d 65 20 73 74 61 63 6b | 20 66 6f 72 20 62 6f 6f |me stack| for boo|
|00004ff0| 6b 6d 61 72 6b 73 2c 73 | 6e 61 70 73 68 6f 74 73 |kmarks,s|napshots|
|00005000| 20 61 6e 64 20 6e 6f 74 | 65 73 0d 70 75 74 20 74 | and not|es.put t|
|00005010| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00005020| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|00005030| 20 73 74 61 6d 70 0d 0d | 70 75 74 20 74 68 65 20 | stamp..|put the |
|00005040| 73 68 6f 72 74 20 64 61 | 74 65 20 69 6e 74 6f 20 |short da|te into |
|00005050| 74 6f 64 61 79 0d 67 65 | 74 20 74 68 65 20 6e 75 |today.ge|t the nu|
|00005060| 6d 62 65 72 20 6f 66 20 | 63 68 61 72 73 20 69 6e |mber of |chars in|
|00005070| 20 74 6f 64 61 79 0d 64 | 65 6c 65 74 65 20 63 68 | today.d|elete ch|
|00005080| 61 72 20 28 69 74 2d 32 | 29 20 74 6f 20 69 74 20 |ar (it-2|) to it |
|00005090| 6f 66 20 74 6f 64 61 79 | 20 2d 2d 20 64 6f 6e 27 |of today| -- don'|
|000050a0| 74 20 6e 65 65 64 20 74 | 68 65 20 79 65 61 72 0d |t need t|he year.|
|000050b0| 70 75 74 20 22 20 a5 22 | 20 26 26 20 74 6f 64 61 |put " ."| && toda|
|000050c0| 79 20 26 26 20 22 61 74 | 20 22 20 61 66 74 65 72 |y && "at| " after|
|000050d0| 20 73 74 61 6d 70 0d 70 | 75 74 20 74 68 65 20 74 | stamp.p|ut the t|
|000050e0| 69 6d 65 20 69 6e 74 6f | 20 74 69 6d 65 53 74 61 |ime into| timeSta|
|000050f0| 6d 70 0d 67 65 74 20 74 | 68 65 20 6e 75 6d 62 65 |mp.get t|he numbe|
|00005100| 72 20 6f 66 20 63 68 61 | 72 73 20 69 6e 20 74 69 |r of cha|rs in ti|
|00005110| 6d 65 53 74 61 6d 70 0d | 70 75 74 20 63 68 61 72 |meStamp.|put char|
|00005120| 20 28 69 74 2d 31 29 20 | 74 6f 20 69 74 20 6f 66 | (it-1) |to it of|
|00005130| 20 74 69 6d 65 53 74 61 | 6d 70 20 69 6e 74 6f 20 | timeSta|mp into |
|00005140| 74 6f 64 0d 69 66 20 74 | 6f 64 20 3d 20 22 50 4d |tod.if t|od = "PM|
|00005150| 22 20 74 68 65 6e 20 70 | 75 74 20 22 70 6d 22 20 |" then p|ut "pm" |
|00005160| 69 6e 74 6f 20 74 6f 64 | 0d 65 6c 73 65 20 69 66 |into tod|.else if|
|00005170| 20 74 6f 64 20 3d 20 22 | 41 4d 22 20 74 68 65 6e | tod = "|AM" then|
|00005180| 20 70 75 74 20 22 61 6d | 22 20 69 6e 74 6f 20 74 | put "am|" into t|
|00005190| 6f 64 0d 70 75 74 20 74 | 6f 64 20 69 6e 74 6f 20 |od.put t|od into |
|000051a0| 63 68 61 72 20 28 69 74 | 2d 31 29 20 74 6f 20 69 |char (it|-1) to i|
|000051b0| 74 20 6f 66 20 74 69 6d | 65 53 74 61 6d 70 0d 70 |t of tim|eStamp.p|
|000051c0| 75 74 20 74 69 6d 65 53 | 74 61 6d 70 20 61 66 74 |ut timeS|tamp aft|
|000051d0| 65 72 20 73 74 61 6d 70 | 0d 72 65 74 75 72 6e 20 |er stamp|.return |
|000051e0| 73 74 61 6d 70 0d 65 6e | 64 20 6d 61 6b 65 53 74 |stamp.en|d makeSt|
|000051f0| 61 6d 70 0d 0d 6f 6e 20 | 6b 69 6c 6c 57 69 6e 64 |amp..on |killWind|
|00005200| 6f 77 0d 2d 2d 20 66 72 | 65 65 20 6d 65 6d 6f 72 |ow.-- fr|ee memor|
|00005210| 79 20 28 74 65 6d 70 6f | 72 61 72 79 2c 20 75 6e |y (tempo|rary, un|
|00005220| 74 69 6c 20 6b 69 6c 6c | 41 6c 6c 20 77 6f 72 6b |til kill|All work|
|00005230| 73 29 20 2a 2a 0d 53 65 | 74 57 69 6e 64 6f 77 20 |s) **.Se|tWindow |
|00005240| 31 0d 4e 65 77 57 69 6e | 64 6f 77 20 35 30 2c 35 |1.NewWin|dow 50,5|
|00005250| 30 2c 63 65 6e 74 65 72 | 65 64 2c 30 2c 31 2c 22 |0,center|ed,0,1,"|
|00005260| 22 2c 69 6e 76 69 73 69 | 62 6c 65 0d 67 6f 20 74 |",invisi|ble.go t|
|00005270| 68 69 73 20 63 64 20 2d | 2d 20 6b 76 73 20 61 64 |his cd -|- kvs ad|
|00005280| 64 65 64 20 74 6f 20 72 | 65 66 72 65 73 68 20 73 |ded to r|efresh s|
|00005290| 63 72 65 65 6e 0d 65 6e | 64 20 6b 69 6c 6c 57 69 |creen.en|d killWi|
|000052a0| 6e 64 6f 77 0d 0d 2d 2d | 20 4d 41 50 0d 6f 6e 20 |ndow..--| MAP.on |
|000052b0| 4d 61 70 0d 67 6c 6f 62 | 61 6c 20 67 54 6f 54 68 |Map.glob|al gToTh|
|000052c0| 65 4d 61 70 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |eMap.set| cursor |
|000052d0| 74 6f 20 77 61 74 63 68 | 0d 70 75 74 20 67 65 74 |to watch|.put get|
|000052e0| 43 61 72 64 4e 61 6d 65 | 28 29 20 69 6e 74 6f 20 |CardName|() into |
|000052f0| 67 54 6f 54 68 65 4d 61 | 70 0d 6c 6f 63 6b 20 73 |gToTheMa|p.lock s|
|00005300| 63 72 65 65 6e 0d 67 6f | 20 22 4d 46 20 4d 61 70 |creen.go| "MF Map|
|00005310| 22 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |".unlock| screen |
|00005320| 77 69 74 68 20 69 72 69 | 73 20 6f 70 65 6e 0d 65 |with iri|s open.e|
|00005330| 6e 64 20 4d 61 70 0d 0d | 2d 2d 2d 20 48 45 4c 50 |nd Map..|--- HELP|
|00005340| 0d 6f 6e 20 48 65 6c 70 | 0d 70 75 73 68 20 63 61 |.on Help|.push ca|
|00005350| 72 64 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |rd.lock |screen.g|
|00005360| 6f 20 73 74 61 63 6b 20 | 22 4d 46 20 48 65 6c 70 |o stack |"MF Help|
|00005370| 22 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |".unlock| screen |
|00005380| 77 69 74 68 20 69 72 69 | 73 20 6f 70 65 6e 0d 73 |with iri|s open.s|
|00005390| 65 6e 64 20 6f 70 65 6e | 41 63 74 69 6f 6e 20 74 |end open|Action t|
|000053a0| 6f 20 74 68 69 73 20 63 | 64 0d 65 6e 64 20 48 65 |o this c|d.end He|
|000053b0| 6c 70 0d 0d 6f 6e 20 47 | 6c 6f 73 73 61 72 79 0d |lp..on G|lossary.|
|000053c0| 70 75 73 68 20 63 61 72 | 64 0d 6c 6f 63 6b 20 73 |push car|d.lock s|
|000053d0| 63 72 65 65 6e 0d 67 6f | 20 74 6f 20 63 61 72 64 |creen.go| to card|
|000053e0| 20 22 47 6c 6f 73 73 61 | 72 79 42 72 6f 77 73 65 | "Glossa|ryBrowse|
|000053f0| 72 22 20 6f 66 20 73 74 | 61 63 6b 20 22 4d 46 20 |r" of st|ack "MF |
|00005400| 47 6c 6f 73 73 61 72 79 | 22 0d 75 6e 6c 6f 63 6b |Glossary|".unlock|
|00005410| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 69 72 69 | screen |with iri|
|00005420| 73 20 6f 70 65 6e 0d 65 | 6e 64 20 47 6c 6f 73 73 |s open.e|nd Gloss|
|00005430| 61 72 79 0d 0d 6f 6e 20 | 72 65 66 72 65 73 68 0d |ary..on |refresh.|
|00005440| 70 75 74 20 74 68 65 20 | 6c 6f 63 6b 73 63 72 65 |put the |lockscre|
|00005450| 65 6e 20 69 6e 74 6f 20 | 73 61 76 65 4c 0d 75 6e |en into |saveL.un|
|00005460| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 67 6f 20 74 |lock scr|een.go t|
|00005470| 68 69 73 20 43 64 0d 73 | 65 74 20 74 68 65 20 6c |his Cd.s|et the l|
|00005480| 6f 63 6b 73 63 72 65 65 | 6e 20 74 6f 20 73 61 76 |ockscree|n to sav|
|00005490| 65 4c 0d 65 6e 64 20 72 | 65 66 72 65 73 68 0d 0d |eL.end r|efresh..|
|000054a0| 2d 2d 20 65 6e 64 20 6f | 66 20 73 74 75 64 65 6e |-- end o|f studen|
|000054b0| 74 20 6f 70 74 69 6f 6e | 73 0d 0d 2d 2d 2f 20 66 |t option|s..--/ f|
|000054c0| 6f 72 20 73 65 6c 66 61 | 73 73 65 73 73 6d 65 6e |or selfa|ssessmen|
|000054d0| 74 73 0d 2d 2d 2f 20 41 | 6c 6c 20 53 65 6c 6c 2d |ts.--/ A|ll Sell-|
|000054e0| 41 73 73 65 73 73 6d 65 | 6e 74 20 62 61 63 6b 67 |Assessme|nt backg|
|000054f0| 72 6f 75 6e 64 73 20 73 | 68 6f 75 6c 64 20 62 65 |rounds s|hould be|
|00005500| 20 6e 61 6d 65 64 20 73 | 74 61 72 74 69 6e 67 20 | named s|tarting |
|00005510| 77 69 74 68 20 22 a7 8c | 22 0d 0d 6f 6e 20 63 6c |with "..|"..on cl|
|00005520| 6f 73 65 42 61 63 6b 67 | 72 6f 75 6e 64 0d 67 6c |oseBackg|round.gl|
|00005530| 6f 62 61 6c 20 67 42 61 | 63 6b 67 72 6f 75 6e 64 |obal gBa|ckground|
|00005540| 4e 61 6d 65 0d 70 75 74 | 20 74 68 65 20 73 68 6f |Name.put| the sho|
|00005550| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00005560| 62 67 20 69 6e 74 6f 20 | 67 42 61 63 6b 67 72 6f |bg into |gBackgro|
|00005570| 75 6e 64 4e 61 6d 65 0d | 65 6e 64 20 63 6c 6f 73 |undName.|end clos|
|00005580| 65 42 61 63 6b 67 72 6f | 75 6e 64 0d 0d 6f 6e 20 |eBackgro|und..on |
|00005590| 6f 70 65 6e 42 61 63 6b | 67 72 6f 75 6e 64 0d 67 |openBack|ground.g|
|000055a0| 6c 6f 62 61 6c 20 67 42 | 61 63 6b 67 72 6f 75 6e |lobal gB|ackgroun|
|000055b0| 64 4e 61 6d 65 2c 67 53 | 74 61 63 6b 4e 61 6d 65 |dName,gS|tackName|
|000055c0| 2c 53 41 45 76 61 6c 44 | 61 74 61 2c 67 4e 6f 44 |,SAEvalD|ata,gNoD|
|000055d0| 69 73 6b 0d 69 66 20 67 | 42 61 63 6b 67 72 6f 75 |isk.if g|Backgrou|
|000055e0| 6e 64 4e 61 6d 65 20 69 | 73 20 6e 6f 74 20 65 6d |ndName i|s not em|
|000055f0| 70 74 79 20 61 6e 64 20 | 53 41 45 76 61 6c 44 61 |pty and |SAEvalDa|
|00005600| 74 61 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |ta is no|t empty |
|00005610| 74 68 65 6e 0d 69 66 20 | 63 68 61 72 20 31 20 74 |then.if |char 1 t|
|00005620| 6f 20 32 20 6f 66 20 67 | 42 61 63 6b 67 72 6f 75 |o 2 of g|Backgrou|
|00005630| 6e 64 4e 61 6d 65 20 69 | 73 20 22 a7 8c 22 20 61 |ndName i|s ".." a|
|00005640| 6e 64 20 c2 0d 63 68 61 | 72 20 31 20 74 6f 20 32 |nd ..cha|r 1 to 2|
|00005650| 20 6f 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | of the |short na|
|00005660| 6d 65 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 73 |me of th|is bg is|
|00005670| 20 6e 6f 74 20 22 a7 8c | 22 20 74 68 65 6e 0d 69 | not "..|" then.i|
|00005680| 66 20 67 4e 6f 44 69 73 | 6b 20 69 73 20 6e 6f 74 |f gNoDis|k is not|
|00005690| 20 22 74 72 75 65 22 20 | 74 68 65 6e 0d 70 75 74 | "true" |then.put|
|000056a0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|000056b0| 6f 66 20 74 68 69 73 20 | 63 64 20 69 6e 74 6f 20 |of this |cd into |
|000056c0| 66 69 6e 61 6c 63 61 72 | 64 6e 61 6d 65 0d 70 75 |finalcar|dname.pu|
|000056d0| 74 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |t the sh|ort name|
|000056e0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|000056f0| 6e 74 6f 20 67 53 74 61 | 63 6b 4e 61 6d 65 0d 64 |nto gSta|ckName.d|
|00005700| 6f 57 61 72 6e 69 6e 67 | 20 2d 2d 20 69 66 20 74 |oWarning| -- if t|
|00005710| 68 65 79 20 61 72 65 20 | 75 73 69 6e 67 20 61 20 |hey are |using a |
|00005720| 73 74 75 64 65 6e 74 20 | 64 69 73 6b 2c 20 70 75 |student |disk, pu|
|00005730| 74 20 75 70 20 6d 73 67 | 0d 72 65 66 72 65 73 68 |t up msg|.refresh|
|00005740| 0d 69 66 20 67 6f 53 74 | 75 64 65 6e 74 53 74 61 |.if goSt|udentSta|
|00005750| 63 6b 28 29 20 69 73 20 | 22 74 72 75 65 22 20 74 |ck() is |"true" t|
|00005760| 68 65 6e 0d 67 6f 20 74 | 6f 20 63 64 20 72 65 70 |hen.go t|o cd rep|
|00005770| 6f 72 74 0d 73 65 6e 64 | 20 6c 69 73 74 52 65 73 |ort.send| listRes|
|00005780| 75 6c 74 73 20 74 6f 20 | 74 68 69 73 20 63 61 72 |ults to |this car|
|00005790| 64 0d 67 6f 20 74 6f 20 | 63 64 20 66 69 6e 61 6c |d.go to |cd final|
|000057a0| 43 61 72 64 6e 61 6d 65 | 20 6f 66 20 67 73 74 61 |Cardname| of gsta|
|000057b0| 63 6b 6e 61 6d 65 0d 65 | 6e 64 20 69 66 0d 6b 69 |ckname.e|nd if.ki|
|000057c0| 6c 6c 57 61 72 6e 69 6e | 67 0d 65 6e 64 20 69 66 |llWarnin|g.end if|
|000057d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|000057e0| 6e 64 20 6f 70 65 6e 42 | 61 63 6b 67 72 6f 75 6e |nd openB|ackgroun|
|000057f0| 64 0d 0d 6f 6e 20 64 6f | 57 61 72 6e 69 6e 67 0d |d..on do|Warning.|
|00005800| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00005810| 20 63 64 20 66 6c 64 73 | 20 3e 20 30 20 74 68 65 | cd flds| > 0 the|
|00005820| 6e 0d 69 66 20 66 69 6e | 64 46 69 65 6c 64 28 22 |n.if fin|dField("|
|00005830| 57 61 72 6e 69 6e 67 22 | 29 20 69 73 20 6e 6f 74 |Warning"|) is not|
|00005840| 20 66 61 6c 73 65 20 74 | 68 65 6e 0d 73 68 6f 77 | false t|hen.show|
|00005850| 20 63 64 20 66 6c 64 20 | 22 57 61 72 6e 69 6e 67 | cd fld |"Warning|
|00005860| 22 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |".unlock| screen.|
|00005870| 65 78 69 74 20 64 6f 57 | 61 72 6e 69 6e 67 0d 65 |exit doW|arning.e|
|00005880| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 6c 6f 63 |nd if.en|d if.loc|
|00005890| 6b 20 73 63 72 65 65 6e | 0d 70 75 74 20 6d 61 6b |k screen|.put mak|
|000058a0| 65 4c 69 6e 65 73 28 20 | c2 0d 22 22 2c c2 0d 22 |eLines( |.."",.."|
|000058b0| 53 61 76 69 6e 67 20 74 | 68 65 20 72 65 73 75 6c |Saving t|he resul|
|000058c0| 74 73 20 6f 66 20 79 6f | 75 72 20 53 65 6c 66 2d |ts of yo|ur Self-|
|000058d0| 41 73 73 65 73 73 6d 65 | 6e 74 2e 2e 2e 22 2c 20 |Assessme|nt...", |
|000058e0| c2 0d 22 70 6c 65 61 73 | 65 20 77 61 69 74 2e 22 |.."pleas|e wait."|
|000058f0| 29 20 69 6e 74 6f 20 6d | 65 6e 75 4c 69 73 74 0d |) into m|enuList.|
|00005900| 6d 61 6b 65 43 61 72 64 | 46 69 65 6c 64 20 6e 61 |makeCard|Field na|
|00005910| 6d 65 2c 20 22 57 61 72 | 6e 69 6e 67 22 2c 20 c2 |me, "War|ning", .|
|00005920| 0d 77 69 64 74 68 2c 20 | 33 32 30 2c 20 68 65 69 |.width, |320, hei|
|00005930| 67 68 74 2c 38 32 2c 20 | c2 0d 74 6f 70 4c 65 66 |ght,82, |..topLef|
|00005940| 74 2c 20 22 39 32 2c 37 | 38 22 2c c2 0d 6c 6f 63 |t, "92,7|8",..loc|
|00005950| 6b 54 65 78 74 2c 20 74 | 72 75 65 2c 20 74 65 78 |kText, t|rue, tex|
|00005960| 74 46 6f 6e 74 2c 20 22 | 65 72 61 73 20 64 65 6d |tFont, "|eras dem|
|00005970| 69 22 2c 20 c2 0d 74 65 | 78 74 53 69 7a 65 2c 31 |i", ..te|xtSize,1|
|00005980| 34 2c 73 74 79 6c 65 2c | 20 22 73 68 61 64 6f 77 |4,style,| "shadow|
|00005990| 22 2c 20 74 65 78 74 61 | 6c 69 67 6e 2c 20 6c 65 |", texta|lign, le|
|000059a0| 66 74 2c 20 77 69 64 65 | 4d 61 72 67 69 6e 73 2c |ft, wide|Margins,|
|000059b0| 74 72 75 65 0d 70 75 74 | 20 6d 65 6e 75 4c 69 73 |true.put| menuLis|
|000059c0| 74 20 69 6e 74 6f 20 6c | 61 73 74 20 63 64 20 66 |t into l|ast cd f|
|000059d0| 6c 64 0d 70 75 74 20 22 | 6f 6e 20 6d 6f 75 73 65 |ld.put "|on mouse|
|000059e0| 55 70 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |Up" & re|turn & "|
|000059f0| 68 69 64 65 20 6d 65 22 | 20 26 20 72 65 74 75 72 |hide me"| & retur|
|00005a00| 6e 20 26 20 22 65 6e 64 | 20 6d 6f 75 73 65 55 70 |n & "end| mouseUp|
|00005a10| 22 20 69 6e 74 6f 20 73 | 74 72 69 6e 67 0d 73 65 |" into s|tring.se|
|00005a20| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t the sc|ript of |
|00005a30| 6c 61 73 74 20 63 64 20 | 66 6c 64 20 74 6f 20 73 |last cd |fld to s|
|00005a40| 74 72 69 6e 67 0d 63 68 | 6f 6f 73 65 20 62 72 6f |tring.ch|oose bro|
|00005a50| 77 73 65 20 74 6f 6f 6c | 0d 75 6e 6c 6f 63 6b 20 |wse tool|.unlock |
|00005a60| 73 63 72 65 65 6e 0d 65 | 6e 64 20 64 6f 57 61 72 |screen.e|nd doWar|
|00005a70| 6e 69 6e 67 0d 0d 6f 6e | 20 6b 69 6c 6c 57 61 72 |ning..on| killWar|
|00005a80| 6e 69 6e 67 0d 69 66 20 | 74 68 65 20 73 68 6f 72 |ning.if |the shor|
|00005a90| 74 20 6e 61 6d 65 20 6f | 66 20 6c 61 73 74 20 63 |t name o|f last c|
|00005aa0| 64 20 66 6c 64 20 69 73 | 20 22 57 61 72 6e 69 6e |d fld is| "Warnin|
|00005ab0| 67 22 20 74 68 65 6e 0d | 73 65 6c 65 63 74 20 63 |g" then.|select c|
|00005ac0| 64 20 66 6c 64 20 22 77 | 61 72 6e 69 6e 67 22 0d |d fld "w|arning".|
|00005ad0| 64 6f 6d 65 6e 75 20 22 | 63 6c 65 61 72 20 66 69 |domenu "|clear fi|
|00005ae0| 65 6c 64 22 0d 63 68 6f | 6f 73 65 20 62 72 6f 77 |eld".cho|ose brow|
|00005af0| 73 65 20 74 6f 6f 6c 0d | 65 6e 64 20 69 66 0d 65 |se tool.|end if.e|
|00005b00| 6e 64 20 6b 69 6c 6c 57 | 61 72 6e 69 6e 67 0d 2d |nd killW|arning.-|
|00005b10| 2d 2f 20 65 6e 64 20 73 | 65 6c 66 61 73 73 65 73 |-/ end s|elfasses|
|00005b20| 73 6d 65 6e 74 73 0d 0d | 66 75 6e 63 74 69 6f 6e |sments..|function|
|00005b30| 20 67 6f 73 74 75 64 65 | 6e 74 53 74 61 63 6b 20 | gostude|ntStack |
|00005b40| 6f 70 74 41 73 6b 0d 67 | 6c 6f 62 61 6c 20 67 53 |optAsk.g|lobal gS|
|00005b50| 74 75 64 65 6e 74 53 74 | 61 63 6b 4e 61 6d 65 2c |tudentSt|ackName,|
|00005b60| 67 4e 6f 44 69 73 6b 2c | 67 53 74 75 64 65 6e 74 |gNoDisk,|gStudent|
|00005b70| 4e 61 6d 65 0d 2d 2d 20 | 6f 70 74 41 73 6b 20 77 |Name.-- |optAsk w|
|00005b80| 69 6c 6c 20 6f 76 65 72 | 72 69 64 65 20 74 68 65 |ill over|ride the|
|00005b90| 20 67 4e 6f 44 69 73 6b | 20 73 6f 20 74 68 65 79 | gNoDisk| so they|
|00005ba0| 20 63 61 6e 20 61 64 64 | 20 74 68 65 20 64 69 73 | can add| the dis|
|00005bb0| 6b 20 61 74 20 74 68 69 | 73 20 74 69 65 6d 0d 69 |k at thi|s tiem.i|
|00005bc0| 66 20 6f 70 74 41 73 6b | 20 69 73 20 22 22 20 61 |f optAsk| is "" a|
|00005bd0| 6e 64 20 67 4e 6f 44 69 | 73 6b 20 69 73 20 74 72 |nd gNoDi|sk is tr|
|00005be0| 75 65 20 74 68 65 6e 20 | 65 78 69 74 20 67 6f 53 |ue then |exit goS|
|00005bf0| 74 75 64 65 6e 74 53 74 | 61 63 6b 0d 62 65 71 75 |tudentSt|ack.bequ|
|00005c00| 69 65 74 0d 69 66 20 67 | 53 74 75 64 65 6e 74 53 |iet.if g|StudentS|
|00005c10| 74 61 63 6b 4e 61 6d 65 | 20 69 73 20 22 22 20 74 |tackName| is "" t|
|00005c20| 68 65 6e 0d 70 75 74 20 | 22 53 74 75 64 65 6e 74 |hen.put |"Student|
|00005c30| 20 44 69 73 6b 3a 4d 46 | 20 53 74 75 64 65 6e 74 | Disk:MF| Student|
|00005c40| 20 53 74 61 63 6b 22 20 | 69 6e 74 6f 20 67 53 74 | Stack" |into gSt|
|00005c50| 75 64 65 6e 74 53 74 61 | 63 6b 4e 61 6d 65 0d 65 |udentSta|ckName.e|
|00005c60| 6e 64 20 69 66 0d 0d 69 | 66 20 66 69 6c 65 45 78 |nd if..i|f fileEx|
|00005c70| 69 73 74 73 28 67 53 74 | 75 64 65 6e 74 53 74 61 |ists(gSt|udentSta|
|00005c80| 63 6b 4e 61 6d 65 29 20 | 74 68 65 6e 0d 67 6f 20 |ckName) |then.go |
|00005c90| 67 53 74 75 64 65 6e 74 | 53 74 61 63 6b 4e 61 6d |gStudent|StackNam|
|00005ca0| 65 0d 72 65 74 75 72 6e | 20 22 74 72 75 65 22 0d |e.return| "true".|
|00005cb0| 65 6c 73 65 0d 70 75 74 | 20 22 59 6f 75 20 6e 65 |else.put| "You ne|
|00005cc0| 65 64 20 79 6f 75 72 20 | 53 74 75 64 65 6e 74 20 |ed your |Student |
|00005cd0| 44 69 73 6b 20 74 6f 20 | 73 61 76 65 20 79 6f 75 |Disk to |save you|
|00005ce0| 72 20 77 6f 72 6b 2e 22 | 20 26 26 20 c2 0d 22 49 |r work."| && .."I|
|00005cf0| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 75 73 |f you wa|nt to us|
|00005d00| 65 20 69 74 2c 20 69 6e | 73 65 72 74 20 69 74 20 |e it, in|sert it |
|00005d10| 69 6e 74 6f 20 74 68 65 | 20 64 72 69 76 65 20 74 |into the| drive t|
|00005d20| 68 65 6e 20 22 20 26 20 | c2 0d 22 63 6c 69 63 6b |hen " & |.."click|
|00005d30| 20 d2 4f 4b 2e d3 22 20 | 69 6e 74 6f 20 73 74 72 | .OK.." |into str|
|00005d40| 69 6e 67 0d 61 6e 73 77 | 65 72 20 73 74 72 69 6e |ing.answ|er strin|
|00005d50| 67 20 77 69 74 68 20 22 | 4e 6f 20 64 69 73 6b 22 |g with "|No disk"|
|00005d60| 20 6f 72 20 22 4f 4b 22 | 0d 69 66 20 69 74 20 69 | or "OK"|.if it i|
|00005d70| 73 20 22 4e 6f 20 64 69 | 73 6b 22 20 74 68 65 6e |s "No di|sk" then|
|00005d80| 0d 70 75 74 20 22 74 72 | 75 65 22 20 69 6e 74 6f |.put "tr|ue" into|
|00005d90| 20 67 4e 6f 44 69 73 6b | 0d 72 65 74 75 72 6e 20 | gNoDisk|.return |
|00005da0| 22 66 61 6c 73 65 22 20 | 2d 2d 20 6e 6f 20 73 74 |"false" |-- no st|
|00005db0| 75 64 65 6e 74 20 64 69 | 73 6b 0d 65 6c 73 65 20 |udent di|sk.else |
|00005dc0| 69 66 20 69 74 20 69 73 | 20 22 4f 4b 22 20 74 68 |if it is| "OK" th|
|00005dd0| 65 6e 0d 67 6f 20 67 53 | 74 75 64 65 6e 74 53 74 |en.go gS|tudentSt|
|00005de0| 61 63 6b 4e 61 6d 65 20 | 2d 2d 20 6a 75 73 74 20 |ackName |-- just |
|00005df0| 68 61 76 65 20 74 6f 20 | 68 61 76 65 20 61 20 64 |have to |have a d|
|00005e00| 69 61 6c 6f 67 20 62 6f | 78 0d 69 66 20 74 68 65 |ialog bo|x.if the|
|00005e10| 20 72 65 73 75 6c 74 20 | 69 73 20 22 22 20 74 68 | result |is "" th|
|00005e20| 65 6e 0d 67 65 74 20 63 | 68 65 63 6b 4e 61 6d 65 |en.get c|heckName|
|00005e30| 28 29 0d 69 66 20 69 74 | 20 69 73 20 74 72 75 65 |().if it| is true|
|00005e40| 20 74 68 65 6e 0d 70 75 | 74 20 22 66 61 6c 73 65 | then.pu|t "false|
|00005e50| 22 20 69 6e 74 6f 20 67 | 4e 6f 44 69 73 6b 0d 72 |" into g|NoDisk.r|
|00005e60| 65 74 75 72 6e 20 22 74 | 72 75 65 22 20 2d 2d 20 |eturn "t|rue" -- |
|00005e70| 66 6f 75 6e 64 20 69 74 | 20 6f 6e 20 74 68 65 20 |found it| on the |
|00005e80| 73 65 63 6f 6e 64 20 74 | 72 79 0d 65 6e 64 20 69 |second t|ry.end i|
|00005e90| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |f.end if|.end if.|
|00005ea0| 2d 2d 20 69 66 20 79 6f | 75 20 67 65 74 20 68 65 |-- if yo|u get he|
|00005eb0| 72 65 2c 20 69 74 27 73 | 20 64 75 65 20 74 6f 20 |re, it's| due to |
|00005ec0| 61 20 62 61 64 20 73 74 | 75 64 65 6e 74 20 64 69 |a bad st|udent di|
|00005ed0| 73 6b 20 6f 72 20 63 61 | 6e 63 65 6c 2e 0d 72 65 |sk or ca|ncel..re|
|00005ee0| 66 72 65 73 68 0d 70 75 | 74 20 22 74 72 75 65 22 |fresh.pu|t "true"|
|00005ef0| 20 69 6e 74 6f 20 67 4e | 6f 44 69 73 6b 0d 72 65 | into gN|oDisk.re|
|00005f00| 74 75 72 6e 20 22 66 61 | 6c 73 65 22 0d 65 6e 64 |turn "fa|lse".end|
|00005f10| 20 69 66 0d 65 6e 64 20 | 67 6f 73 74 75 64 65 6e | if.end |gostuden|
|00005f20| 74 53 74 61 63 6b 0d 0d | 66 75 6e 63 74 69 6f 6e |tStack..|function|
|00005f30| 20 63 68 65 63 6b 4e 61 | 6d 65 0d 67 6c 6f 62 61 | checkNa|me.globa|
|00005f40| 6c 20 67 53 74 75 64 65 | 6e 74 4e 61 6d 65 0d 69 |l gStude|ntName.i|
|00005f50| 66 20 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |f name |of this |
|00005f60| 62 67 20 69 73 20 6e 6f | 74 20 22 73 74 75 64 65 |bg is no|t "stude|
|00005f70| 6e 74 20 73 74 61 63 6b | 22 20 74 68 65 6e 0d 67 |nt stack|" then.g|
|00005f80| 6f 20 62 61 63 6b 0d 65 | 6a 65 63 74 44 69 73 6b |o back.e|jectDisk|
|00005f90| 20 31 0d 70 75 74 20 22 | 54 68 69 73 20 69 73 20 | 1.put "|This is |
|00005fa0| 6e 6f 74 20 61 20 53 74 | 75 64 65 6e 74 20 44 69 |not a St|udent Di|
|00005fb0| 73 6b 2e 22 20 26 26 20 | c2 0d 22 49 74 20 77 6f |sk." && |.."It wo|
|00005fc0| 6e d5 74 20 62 65 20 70 | 6f 73 73 69 62 6c 65 20 |n.t be p|ossible |
|00005fd0| 74 6f 20 73 61 76 65 20 | 79 6f 75 72 20 77 6f 72 |to save |your wor|
|00005fe0| 6b 2e 22 20 69 6e 74 6f | 20 73 74 72 69 6e 67 0d |k." into| string.|
|00005ff0| 61 6e 73 77 65 72 20 73 | 74 72 69 6e 67 20 77 69 |answer s|tring wi|
|00006000| 74 68 20 22 4f 4b 22 0d | 72 65 74 75 72 6e 20 22 |th "OK".|return "|
|00006010| 66 61 6c 73 65 22 0d 65 | 6e 64 20 69 66 0d 70 75 |false".e|nd if.pu|
|00006020| 74 20 66 6c 64 20 22 67 | 6c 6f 62 61 6c 22 20 6f |t fld "g|lobal" o|
|00006030| 66 20 63 64 20 22 67 53 | 74 75 64 65 6e 74 4e 61 |f cd "gS|tudentNa|
|00006040| 6d 65 22 20 69 6e 74 6f | 20 73 61 76 65 64 4e 61 |me" into| savedNa|
|00006050| 6d 65 0d 69 66 20 73 61 | 76 65 64 4e 61 6d 65 20 |me.if sa|vedName |
|00006060| 69 73 20 22 22 20 74 68 | 65 6e 20 20 2d 2d 20 6e |is "" th|en -- n|
|00006070| 65 77 20 73 74 61 63 6b | 0d 70 75 74 20 67 53 74 |ew stack|.put gSt|
|00006080| 75 64 65 6e 74 4e 61 6d | 65 20 69 6e 74 6f 20 66 |udentNam|e into f|
|00006090| 6c 64 20 22 67 6c 6f 62 | 61 6c 22 20 6f 66 20 63 |ld "glob|al" of c|
|000060a0| 64 20 22 67 53 74 75 64 | 65 6e 74 4e 61 6d 65 22 |d "gStud|entName"|
|000060b0| 0d 72 65 74 75 72 6e 20 | 22 74 72 75 65 22 0d 65 |.return |"true".e|
|000060c0| 6e 64 20 69 66 0d 69 66 | 20 73 61 76 65 64 4e 61 |nd if.if| savedNa|
|000060d0| 6d 65 20 69 73 20 6e 6f | 74 20 67 53 74 75 64 65 |me is no|t gStude|
|000060e0| 6e 74 4e 61 6d 65 20 74 | 68 65 6e 0d 61 6e 73 77 |ntName t|hen.answ|
|000060f0| 65 72 20 22 49 73 20 79 | 6f 75 72 20 6e 61 6d 65 |er "Is y|our name|
|00006100| 20 d2 22 20 26 20 73 61 | 76 65 64 4e 61 6d 65 20 | ." & sa|vedName |
|00006110| 26 20 22 3f d3 22 20 77 | 69 74 68 20 22 57 72 6f |& "?." w|ith "Wro|
|00006120| 6e 67 20 6e 61 6d 65 22 | 20 c2 0d 6f 72 20 22 59 |ng name"| ..or "Y|
|00006130| 65 73 22 0d 69 66 20 69 | 74 20 69 73 20 22 57 72 |es".if i|t is "Wr|
|00006140| 6f 6e 67 20 6e 61 6d 65 | 22 20 74 68 65 6e 0d 65 |ong name|" then.e|
|00006150| 6a 65 63 74 44 69 73 6b | 20 31 0d 72 65 74 75 72 |jectDisk| 1.retur|
|00006160| 6e 20 66 61 6c 73 65 20 | 2d 2d 20 6e 6f 20 6d 61 |n false |-- no ma|
|00006170| 74 63 68 0d 65 6c 73 65 | 0d 70 75 74 20 73 61 76 |tch.else|.put sav|
|00006180| 65 64 4e 61 6d 65 20 69 | 6e 74 6f 20 67 53 74 75 |edName i|nto gStu|
|00006190| 64 65 6e 74 4e 61 6d 65 | 20 2d 2d 20 63 68 61 6e |dentName| -- chan|
|000061a0| 67 65 20 74 68 65 20 67 | 6c 6f 62 61 6c 20 74 6f |ge the g|lobal to|
|000061b0| 20 6d 61 74 63 68 20 74 | 68 65 20 64 69 73 6b 0d | match t|he disk.|
|000061c0| 72 65 74 75 72 6e 20 74 | 72 75 65 0d 65 6e 64 20 |return t|rue.end |
|000061d0| 69 66 0d 65 6e 64 20 69 | 66 0d 72 65 74 75 72 6e |if.end i|f.return|
|000061e0| 20 74 72 75 65 20 2d 2d | 20 74 68 65 79 20 6d 61 | true --| they ma|
|000061f0| 74 63 68 65 64 0d 65 6e | 64 20 63 68 65 63 6b 4e |tched.en|d checkN|
|00006200| 61 6d 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 67 6f |ame..fun|ction go|
|00006210| 4e 6f 74 65 62 6f 6f 6b | 0d 69 66 20 67 6f 53 74 |Notebook|.if goSt|
|00006220| 75 64 65 6e 74 53 74 61 | 63 6b 28 22 22 29 20 69 |udentSta|ck("") i|
|00006230| 73 20 22 74 72 75 65 22 | 20 74 68 65 6e 0d 67 6f |s "true"| then.go|
|00006240| 20 63 64 20 22 6e 6f 74 | 65 62 6f 6f 6b 22 0d 72 | cd "not|ebook".r|
|00006250| 65 74 75 72 6e 20 74 72 | 75 65 0d 65 6c 73 65 0d |eturn tr|ue.else.|
|00006260| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 0d 65 6e 64 |return f|alse.end|
|00006270| 20 69 66 0d 65 6e 64 20 | 67 6f 4e 6f 74 65 62 6f | if.end |goNotebo|
|00006280| 6f 6b 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 67 6f 53 |ok..func|tion goS|
|00006290| 6e 61 70 73 68 6f 74 0d | 62 65 71 75 69 65 74 0d |napshot.|bequiet.|
|000062a0| 70 75 74 20 22 53 74 75 | 64 65 6e 74 20 44 69 73 |put "Stu|dent Dis|
|000062b0| 6b 3a 53 6e 61 70 73 68 | 6f 74 22 20 69 6e 74 6f |k:Snapsh|ot" into|
|000062c0| 20 73 6e 61 70 4e 61 6d | 65 0d 69 66 20 66 69 6c | snapNam|e.if fil|
|000062d0| 65 45 78 69 73 74 73 28 | 73 6e 61 70 4e 61 6d 65 |eExists(|snapName|
|000062e0| 29 20 74 68 65 6e 0d 67 | 6f 20 73 6e 61 70 4e 61 |) then.g|o snapNa|
|000062f0| 6d 65 0d 72 65 74 75 72 | 6e 20 22 74 72 75 65 22 |me.retur|n "true"|
|00006300| 0d 65 6c 73 65 0d 70 75 | 74 20 22 59 6f 75 20 6e |.else.pu|t "You n|
|00006310| 65 65 64 20 79 6f 75 72 | 20 53 74 75 64 65 6e 74 |eed your| Student|
|00006320| 20 44 69 73 6b 20 66 6f | 72 20 73 6e 61 70 73 68 | Disk fo|r snapsh|
|00006330| 6f 74 73 2e 20 50 6c 65 | 61 73 65 20 22 20 26 26 |ots. Ple|ase " &&|
|00006340| 20 c2 0d 22 69 6e 73 65 | 72 74 20 69 74 20 69 6e | .."inse|rt it in|
|00006350| 74 6f 20 74 68 65 20 64 | 72 69 76 65 20 61 6e 64 |to the d|rive and|
|00006360| 20 63 6c 69 63 6b 20 74 | 68 65 20 d2 4f 4b d3 20 | click t|he .OK. |
|00006370| 62 75 74 74 6f 6e 20 62 | 65 6c 6f 77 2e 22 20 c2 |button b|elow." .|
|00006380| 0d 69 6e 74 6f 20 73 74 | 72 69 6e 67 0d 61 6e 73 |.into st|ring.ans|
|00006390| 77 65 72 20 73 74 72 69 | 6e 67 20 77 69 74 68 20 |wer stri|ng with |
|000063a0| 22 4e 6f 20 64 69 73 6b | 22 20 6f 72 20 22 4f 4b |"No disk|" or "OK|
|000063b0| 22 0d 69 66 20 69 74 20 | 69 73 20 22 4f 4b 22 20 |".if it |is "OK" |
|000063c0| 74 68 65 6e 20 2d 2d 20 | 74 72 79 20 61 67 61 69 |then -- |try agai|
|000063d0| 6e 0d 69 66 20 66 69 6c | 65 45 78 69 73 74 73 28 |n.if fil|eExists(|
|000063e0| 73 6e 61 70 4e 61 6d 65 | 29 20 74 68 65 6e 0d 67 |snapName|) then.g|
|000063f0| 6f 20 73 6e 61 70 4e 61 | 6d 65 0d 72 65 74 75 72 |o snapNa|me.retur|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.